Make WordPress Core

Opened 15 months ago

Closed 15 months ago

Last modified 15 months ago

#63542 closed defect (bug) (duplicate)

Mobile Accessibility: Fix ARIA role usage on admin bar icons when creating new post

Reported by: rollybueno Owned by:
Priority: normal Milestone:
Component: Administration Version: 6.8
Severity: normal Keywords: has-screenshots has-patch
Cc: Focuses: accessibility

Description

An accessibility issue was found in the admin bar when creating a new post in mobile. The error, "Uses ARIA roles on incompatible elements," indicates that ARIA roles are applied to elements that do not support them. This can to be corrected to meet accessibility best practices and improve compatibility with assistive technologies.

To reproduce:

  • Open Lighthouse
  • Go to any posts and edit
  • Make sure you select Mobile in Device option and Accessibility category
  • Run the Accessibility scan.

https://i.imgur.com/PC5oxGw.png

Attachments (1)

63542-after-fix.png (89.0 KB ) - added by opurockey 15 months ago.
After fix:

Download all attachments as: .zip

Change History (5)

#1 @rollybueno
15 months ago

  • Summary Accessibility: Fix ARIA role usage on admin bar icons when creating new postMobile Accessibility: Fix ARIA role usage on admin bar icons when creating new post

This ticket was mentioned in PR #8930 on WordPress/wordpress-develop by @opurockey.


15 months ago
#2

  • Keywords has-patch added; needs-patch removed

Mobile Accessibility: Fix ARIA role usage on admin bar icons when creating new post

Trac ticket: https://core.trac.wordpress.org/ticket/63542

@opurockey
15 months ago

After fix:

#3 @joedolson
15 months ago

  • Milestone Awaiting Review
  • Resolutionduplicate
  • Status newclosed

Thanks for your report! However, this is a known false positive in Lighthouse. This was previously reported in #61795, and is not actually an accessibility error. It is an incorrect result in the Lighthouse test results; it is correct per the ARIA specifications.

@rollybueno commented on PR #8930:


15 months ago
#4

This is a false report from Lighthouse and has been closed since https://core.trac.wordpress.org/ticket/63542#comment:3.

You can close this PR as well.

Note: See TracTickets for help on using tickets.