Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Accessibility error fixed: ARIA hidden element must not contain focus… #288

Conversation

Ke1sy
Copy link
Contributor

@Ke1sy Ke1sy commented Apr 21, 2022

This fix is made to solve the reported issue "Accessibility error: ARIA hidden element must not contain focusable elements" fix #287

@vercel
Copy link

vercel bot commented Apr 21, 2022

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated
dialog ❌ Failed (Inspect) Mar 30, 2023 at 10:42AM (UTC)

@codecov
Copy link

codecov bot commented Apr 21, 2022

Codecov Report

Merging #288 (c6b4d1a) into master (646efc7) will increase coverage by 0.02%.
The diff coverage is 100.00%.

❗ Current head c6b4d1a differs from pull request most recent head fca6971. Consider uploading reports for the commit fca6971 to get more accurate results

@@            Coverage Diff             @@
##           master     #288      +/-   ##
==========================================
+ Coverage   98.12%   98.14%   +0.02%     
==========================================
  Files           7        7              
  Lines         160      162       +2     
  Branches       50       52       +2     
==========================================
+ Hits          157      159       +2     
  Misses          2        2              
  Partials        1        1              
Impacted Files Coverage Δ
src/Dialog/Content/Panel.tsx 100.00% <100.00%> (ø)

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@afc163
Copy link
Member

afc163 commented Oct 27, 2022

Conflicting

@Ke1sy
Copy link
Contributor Author

Ke1sy commented Mar 30, 2023

@afc163 @zombieJ

Conflicting

I resolved conflicts, could you please recheck it?

@afc163 afc163 requested a review from zombieJ March 30, 2023 10:49
@zombieJ
Copy link
Member

zombieJ commented Mar 30, 2023

Hmm...since this dom is used for tab loop in the modal. So if it make to aria-hidden=false, it should use some aria-label or title to tell that what this work for.

@mellis481
Copy link
Contributor

@zombieJ Are you asking @Ke1sy a question with regard to the changes in this PR?

@zombieJ
Copy link
Member

zombieJ commented Apr 4, 2023

I mean current update may not help on a11y since above.

Hmm...since this dom is used for tab loop in the modal. So if it make to aria-hidden=false, it should use some aria-label or title to tell that what this work for.

@Ke1sy
Copy link
Contributor Author

Ke1sy commented Apr 6, 2023

@zombieJ I am closing this PR as it's not actual any more, Axe devTools a11y plugin doesn't show this error any more.
CC: @mellis481

@Ke1sy Ke1sy closed this Apr 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Accessibility error: ARIA hidden element must not contain focusable elements
4 participants