Hide redundant information from assistive technologies #19807
Labels
c: Accessibility
When something is not usable for a certain group (eg missing contrast) or devices (eg smartphones).
not-in-changelog
For issues or pull requests that should not be included in our release changelog on matomo.org.
Expected Behavior
On several places of the admin, assistive technologies users will get redundant information due to duplicate info between text and title attributes, etc.
Current Behavior
For example, it's the case on the Visits overview dashboard widget.
I can open a new PR for each occurrence I find. Hopefully it will help removing those redundant info.
For example, on the Visits Overview widget we currently have:
Possible Solution
aria-hidden="true"
can be used to hide redundant info from assistive technologies.That's the case when the most complete information for non sighted users is provided by a title attribute: then we can remove other redundant info.
For example, on the Visits Overview widget, we could have:
Your Environment
The text was updated successfully, but these errors were encountered: