Improve documentation about "no JavaScript" scenarios #437
Labels
Collapsible
Component 'Collapsible menu'
documentation
Documentation improvements or additions
Helper classes
Component 'Helper classes'
javascript
Pull requests that update Javascript code
Milestone
From independent accessibility report, SC 4.1.2:
TL;DR: the example markup in the docs seems to be missing certain attributes and elements.
In reality, those are intentionally left out, so the components are usable and accessible when JavaScript is not available. Attributes and elements that are only needed for interactivity are added via JS. "Expandable" components start out expanded and are only collapsed if and when JS is working.
I.e.: "Works without JavaScript".
It might be good explicitly describe this in the docs, and perhaps even add some component examples that are rendered with JavaScript artificially "disabled".
The text was updated successfully, but these errors were encountered: