[wp-trac] [WordPress Trac] #64525: Twenty Sixteen: “summary” elements use “block” value instead of “list-item” for the “display” property
WordPress Trac
noreply at wordpress.org
Sat Jan 17 22:11:51 UTC 2026
#64525: Twenty Sixteen: “summary” elements use “block” value instead of “list-item”
for the “display” property
---------------------------+------------------------------
Reporter: Photics | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Bundled Theme | Version: 4.4
Severity: normal | Resolution:
Keywords: | Focuses: css
---------------------------+------------------------------
Comment (by Photics):
Well, I hesitated to post this issue, as the Twenty Sixteen theme is over
10 years old. However, I looked at the element itself.
* Is the summary element supposed to be used outside of a details element?
* Should the indicator (list-style-type) completely hidden?
I think the answer to both of those questions is… no.
> A <summary> element may only be used as the first child of a <details>
element.
> https://developer.mozilla.org/en-
US/docs/Web/HTML/Reference/Elements/summary
> You can remove the disclosure widget icon by setting list-style: none or
set the content of the marker to none, but you should always include
visual indicators to inform sighted users that the summary content toggles
to show and hide content.
> https://web.dev/learn/html/details#toggle_the_summary_marker
So, if you take the legacy issue out of the equation, should the Twenty
Sixteen theme be updated? The problem is that the theme page is showing
100,000+ installations. That is a valid concern.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/64525#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list