Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #62338, comment 1


Ignore:
Timestamp:
11/04/2024 05:00:07 PM (6 months ago)
Author:
sabernhardt
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #62338, comment 1

    initial v1  
    11For the `complementary` role, you could use `aside` as the `tagName`. ([https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles/complementary_role MDN says, "If possible, use the HTML <aside> element instead."]) Twenty Twenty-Four uses it in the [https://core.trac.wordpress.org/browser/tags/6.6.2/src/wp-content/themes/twentytwentyfour/patterns/page-home-blogging.php?marks=71#L71 "Blogging home" pattern].
    22
    3 However, would a different role be necessary on the template part container element?
     3However, could a different role be necessary on the template part container element?