Broadcast message > Add .gl-sr-only heading
Problem
No heading in broadcast message. As-is, without the broadcast being announced on page load, it's only discoverable when reading through the page content.
Solution
Since navigating headings is by far the most common way to find information (source), and a broadcast message is static content on page load, and deemed important, it should probably have a meaningful heading.
Considerations
- There isn't a place in the admin today to add a separate heading. Since this is an admin message, perhaps MVC could be a hard-coded
<h2 class="gl-sr-only">Admin message</h2>
heading that is visually hidden (heading level only chosen for the example). - Per Pajamas, a broadcast message should be placed above the global navigation, which makes handling the heading level more challenging. Even current state where the message is below the nav, but above the content could put headings out of order. We need to take a close look at what heading level would be the most appropriate.
- Multiple broadcast messages can be present at the same time.
Edited by Jeremy Elder