Opened 9 years ago
Closed 9 years ago
#36725 closed defect (bug) (fixed)
Star rating improve accessibility hiding empty elements
Reported by: | afercia | Owned by: | afercia |
---|---|---|---|
Milestone: | 4.6 | Priority: | normal |
Severity: | normal | Version: | |
Component: | Administration | Keywords: | has-screenshots has-patch |
Focuses: | ui, accessibility | Cc: |
Description
The star rating is correctly announced by screen readers thanks to some screen-reader-text
used in the markup:
By the way, some screen readers (see VoiceOver in the screenshot below) try to read out also the content of empty elements because there's some CSS generated content:
Hiding the stars with aria-hidden="true"
will make assistive technologies completely ignore these elements, improving the users experience.
Attachments (1)
Change History (3)
Note: See
TracTickets for help on using
tickets.
In 37330: