-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Closed
Labels
[Block] SeparatorAffects the Separator BlockAffects the Separator Block[Status] In ProgressTracking issues with work in progressTracking issues with work in progress[Type] EnhancementA suggestion for improvement.A suggestion for improvement.
Description
What problem does this address?
Traditionally, the separator block has been tied to the <hr> element, which is semantically correct. With the work on Twenty Twenty-Four, we've discovered that there's a need for adding a separator that is not announced by screen readers, when it's just a visual separator. The current solution is not the best one in TT4 either, as it uses the headings block and the visual separator can only be seen if a heading has content, to avoid the A11Y issue of having empty headings.
References:
WordPress/twentytwentyfour#522
WordPress/twentytwentyfour#449
WordPress/twentytwentyfour#471
What is your proposed solution?
Add a HTML tag selector to specifiy the element which should be used for the seperator, like it exists at the group block (div, main, section, etc)
Metadata
Metadata
Assignees
Labels
[Block] SeparatorAffects the Separator BlockAffects the Separator Block[Status] In ProgressTracking issues with work in progressTracking issues with work in progress[Type] EnhancementA suggestion for improvement.A suggestion for improvement.