Make WordPress Core

Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#46715 closed defect (bug) (duplicate)

Site Health Info: Bad value region for attribute role on element dd

Reported by: mukesh27's profile mukesh27 Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: Site Health Keywords: has-patch site-health
Focuses: accessibility Cc:

Description

In the WordPress Site Health Info page dd tag contains the attribute "role" with the value of "region", Accordingly to HTML5 this is Error.

Code: <dd id="health-check-accordion-block-wp-paths-sizes" role="region"
Error: Bad value region for attribute role on element dd.

According to w3c document dd tag can't use role attribute.

Attachments (1)

46715.diff (850 bytes) - added by mukesh27 6 years ago.
Patch.

Download all attachments as: .zip

Change History (6)

@mukesh27
6 years ago

Patch.

#1 @afercia
6 years ago

Related: #42002.

This ticket was mentioned in Slack in #accessibility by afercia. View the logs.


6 years ago

#3 @afercia
6 years ago

  • Keywords needs-refresh added
  • Milestone changed from Awaiting Review to 5.2
  • Version set to trunk

Moving to 5.2 as per today's accessibility bug-scrub as this is something that should be addressed before releasing. Agreed to remove the <dl> and use markup from the ARIA Authoring Practices example: https://www.w3.org/TR/wai-aria-practices-1.1/examples/accordion/accordion.html

#4 @afercia
6 years ago

  • Keywords needs-refresh removed
  • Milestone 5.2 deleted
  • Resolution set to duplicate
  • Status changed from new to closed
  • Version trunk deleted

@mukesh27 thanks for the ticket and the patch. Closing in favor of #46714. Not exactly a duplicate, but the best option is to make a single patch to refactor the accordions markup. Marking as duplicate only because I can't think of a better resolution keyword.

#5 @spacedmonkey
6 years ago

  • Component changed from Administration to Site Health
Note: See TracTickets for help on using tickets.