Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

100
Views
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
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!