Add ARIA attributes to improve accessibility #1212
Unanswered
stevepiercy
asked this question in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Would the maintainers of Sphinx Design be interested in a pull request to add support for ARIA attributes to improve accessibility (a11y)? This would be specifically for the tab panel interface.
sphinxcontrib-httpexample
implements dynamic ARIA attributes through JavaScript, injecting them on load, then changing them as various tabs are selected. See video for demo.Screen.Recording.2024-08-17.at.2.33.57.PM.mov
As far as I know, the only way to have dynamic ARIA attributes is through JavaScript. According to the note on ARIA states and properties:
We could also implement initial ARIA states through Python, but I don't see the value in that extra work if it can already be done via JavaScript.
I'd appreciate your thoughts. Thank you!
Beta Was this translation helpful? Give feedback.
All reactions