pFocusTrap: "aria-hidden-focus" accessibility rule violation #16042
Labels
Component: Accessibility
Issue or pull request is related to WCAG or ARIA
PRO Support
Issue was reported by PRO User
Milestone
Describe the bug
#15482
![image](https://private-user-images.githubusercontent.com/169998205/349525347-424ac91e-3971-4a18-89c3-bc2eac66c96f.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkzMTYwMzIsIm5iZiI6MTczOTMxNTczMiwicGF0aCI6Ii8xNjk5OTgyMDUvMzQ5NTI1MzQ3LTQyNGFjOTFlLTM5NzEtNGExOC04OWMzLWJjMmVhYzY2Yzk2Zi5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjExJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIxMVQyMzE1MzJaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT01MTBkY2E3YjI2NWZhZWYwZjgzYTg0NjAyMTBmYzY2ZmNlYzIwMzk3MmZkY2Y5MGFjNzU3YmU1ODNkZDFiNTc5JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.tvU9h0Ab4HaMtON0bb1Ll9W5S0MHR1XELHZ4RmKYuWc)
New implementation of
pFocusTrap
hasaria-hidden-focus
accessibility rule violation:Environment
Reproducer
No response
Angular version
17.3.11
PrimeNG version
17.18.4
Build / Runtime
TypeScript
Language
TypeScript
Node version (for AoT issues node --version)
18.20.2
Browser(s)
No response
Steps to reproduce the behavior
aria-hidden-focus
rule violation by invisible span elements added bypFocusTrap
directivehttps://dequeuniversity.com/rules/axe/4.9/aria-hidden-focus?application=AxeChrome
Expected behavior
pFocusTrap
should work without accessibility rules violations.The text was updated successfully, but these errors were encountered: