dialog icon indicating copy to clipboard operation
dialog copied to clipboard

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

Open Ke1sy opened this issue 3 years ago • 2 comments

This fix is made to solve the reported issue "Accessibility error: ARIA hidden element must not contain focusable elements" https://github.com/react-component/dialog/issues/287

Ke1sy avatar Apr 21 '22 09:04 Ke1sy

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)

vercel[bot] avatar Apr 21 '22 09:04 vercel[bot]

Codecov Report

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

:exclamation: 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%> (ø)

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

codecov[bot] avatar Apr 21 '22 14:04 codecov[bot]

Conflicting

afc163 avatar Oct 27 '22 10:10 afc163

@afc163 @zombieJ

Conflicting

I resolved conflicts, could you please recheck it?

Ke1sy avatar Mar 30 '23 10:03 Ke1sy

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.

zombieJ avatar Mar 30 '23 15:03 zombieJ

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

mellis481 avatar Apr 02 '23 13:04 mellis481

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.

zombieJ avatar Apr 04 '23 03:04 zombieJ

@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 avatar Apr 06 '23 12:04 Ke1sy