Skip to content

v0.2.0

Choose a tag to compare

@mayank99 mayank99 released this 16 Oct 22:28
· 63 commits to main since this release

Every project needs "visually hidden" styles for screenreader-only text, so this reset now has it built in.

It's available through the .visually-hidden class and all the rules in it use !important so that they can't be overridden by a higher-priority layer.

When a visually-hidden element is focused or an element inside it is focused, then these styles will automatically be undone. Additionally, a .not-visually-hidden class is available to undo these styles based on some other condition.