You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Dashboard widgets: improve accessibility and consistency of the widget headers #79313
All the Dashboard widgets have a 'headeer' that is supposed to show:
An icon.
The widget title, within a heading element.
However, there is some logic in place to visually hide the whole header when the widget presentation is set to full-bleed.
Also, some of the widget headers miss the icon e.g. the Activity and Site preview widgets.
I disagree with the logic based on the presentation mode.
Headings are meant to identify sections of content.
They help all users scan the page and get a sense of what a section (in this case a widget) is about.
Also, some widget, for example the Site preview, don't show a header even though they are not full-width, which surfaces some inconsistency between what 'full bleed' and wull width are supposed to do. It's a confusign logic that, in my opinion, shouldn't be there in the first place.
Since visible headings help all users, I'd like to propose to make them always visible.
Also, all the widgets should provide an icon.
PR incoming.
Step-by-step reproduction instructions
Enable the dashboard experiment in WP Admin > Gutenberg > Experiments.
Activity