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

362
Views
Why Mac VoiceOver doesn't detect after mounting ReactJs Component?

I have this code in App.js. Mac's voice over can detect all the elements on this page and it keeps spelling out the text on each one by one.

const WelcomePage = () => {
  const [isWarningPage, setisWarningPage] = useState(false);
  if (!isWarningPage) {
    return (
      <>
        <div class="container-fluid">
          <div className="welcome-section">
            <div className="logo-container">
              <img src={logo} alt="" />
            </div>
            <div className="welcome-content">
              <h2 aria-level="1">Welcome to My Website</h2>
              <h5 aria-level="5">
                Connecting you to my web.
              </h5>
              <h5 className="child2" aria-level="5">
                We are happy to see you.
              </h5>
            </div>
            <div>
              <button
                onClick={() => setisWarningPage(true)}
                id="GetStartedBtn"
                aria-label="Get Started"
              >
                Get Started
              </button>
            </div>
          </div>
        </div>
      </>
    );
  }
  return PhishingWarningPage;
};

But, when I click on the "Get Started" button, Mac's Voice Over cannot detect the mounted component (Warning page). Then I focused the element using some javascript. Why does it happens?

What are my options here?

Thank you!

about 4 years ago · Santiago Trujillo
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!