Opened 15 months ago

#6586 new defect (bug)

Remove multiple complementary landmarks from widgets

Reported by: alexstine's profile alexstine Owned by:
Milestone: Priority: normal
Component: Handbooks Keywords:


On a developer handbook page, there are multiple complementary landmarks injected by widgets.

Example page:

Problem code:

<div id="secondary" class="widget-area" role="complementary">
		<div id="secondary-content">
				<aside id="search-7" class="widget widget_search">
				<aside id="handbook_pages-3" class="widget widget_wporg_handbook_pages">

Solution: Since there is already a wrapping ARIA role, remove the aside tags and replace them with divs or another HTML element. Aside tag is HTML5 and produces a complementary landmark when used.

Change History (0)

Note: See TracTickets for help on using tickets.