Make WordPress Core

Opened 8 years ago

Closed 8 years ago

#36725 closed defect (bug) (fixed)

Star rating improve accessibility hiding empty elements

Reported by: afercia's profile afercia Owned by: afercia's profile afercia
Milestone: 4.6 Priority: normal
Severity: normal Version:
Component: Administration Keywords: has-screenshots has-patch
Focuses: ui, accessibility Cc:


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)

36725.diff (932 bytes) - added by afercia 8 years ago.

Download all attachments as: .zip

Change History (3)

8 years ago

#1 @afercia
8 years ago

  • Keywords has-patch added
  • Owner set to afercia
  • Status changed from new to assigned

#2 @afercia
8 years ago

  • Resolution set to fixed
  • Status changed from assigned to closed

In 37330:

Accessibility: improve the Star Ratings hiding empty elements for assistive technologies.

Fixes #36725.

Note: See TracTickets for help on using tickets.