You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Accessibility should not be something that can be turned on or off with a feature flag. Instead it is the natural result of building clean, modern, and semantic code, and should be considered a necessary core feature.
Remove all conditionals using the accessibility variable.
Remove the initADA and activateADA methods, integrating any important functionality directly into the core functionality.
Besides, none of this functionality is explicitly called out by the ADA (or Section 508, or AODA, or any other civil rights legislation around equitable access). Instead, this legislation (and related case law) leans on the WCAG as a technical criteria.
At the very least, this functionality is about basic human equality, which we shouldn't really need a law to make us do. These method names seem to imply that the important thing is that a legal requirement is being targeted and met, when really it should just be something we do automatically.
Once this functionality is removed, ensure that passing the accessibility setting via a config or data attribute does not introduce any bugs.
Consider emitting a console warning or info message when this setting is passed to alert devs about the change in functionality.
Add documentation of this change to the main README.
The text was updated successfully, but these errors were encountered:
Accessibility should not be something that can be turned on or off with a feature flag. Instead it is the natural result of building clean, modern, and semantic code, and should be considered a necessary core feature.
accessibility
variable.initADA
andactivateADA
methods, integrating any important functionality directly into the core functionality.accessibility
setting via a config or data attribute does not introduce any bugs.The text was updated successfully, but these errors were encountered: