Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

101
Vistas
How can you force focus on an element to support ios voice over?

Is there a way to make the ios voice over focus on a specific element following a user interaction?

I have tried a version of the following example in a React codebase, by using the focus method on a select element when an option gets selected, however while this works on a web browser, it doesn't work on the ios device, instead the focus moves to whatever was behind the option selected.

So for instance if the 'Saab' option was selected, I'd like the user to remain on the dropdown but instead they land on a div element that was behind the Saab dropdown list.

Using a screen reader on a browser I can see that the focus method works to keep the user on the dropdown but on the ios device with voice over, the focus jumps to the item behind.

    handleChange = (e) => {
  document.getElementById("cars").focus({preventScroll: true});
}

<select id="cars" name="cars" id="cars" onChange = (e) => {this.handleChange(e)}>
  <option value="volvo">Volvo</option>
  <option value="saab">Saab</option>
  <option value="mercedes">Mercedes</option>
  <option value="audi">Audi</option>
</select>
about 4 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda