mrwweb / useful-block-styles

Simple block styles you frequently need for the WordPress Block Editor
GNU General Public License v3.0
4 stars 1 forks source link

New Style Idea: Screen Reader Text for Headings #14

Closed mrwweb closed 3 years ago

mrwweb commented 3 years ago

It's not uncommon that a complex page layout would be improved by screen reader text headings.

I'd propose adding an .is-screen-reader-text style that is just a copy of the standard, recommended .screen-reader-text class for WP.

I think I only envision this being useful for headings, but interested in other ideas.

mrwweb commented 3 years ago

In terms of other implementations of this idea, I've build this feature before, but also ran across it in the Michelle theme last week. It's a nice implementation that grays out the heading and adds an icon in the editor.

rtvenge commented 3 years ago

@mrwweb I feel like I would use this at some point. Sounds like a great idea!

mrwweb commented 3 years ago

@rtvenge Sweet. I'll try to get a PR in this week.