Accessibility
OxyProps goal is to help you build accessible websites. In addition to accessibility built in all CSS Variables and utility classes when possible, we also provide you with a set of specific utility classes that you can use to help include all of your website visitors.
Screen Readers
link Screen ReadersScreen Reader Only
link Screen Reader OnlyThe .o-sr-only
utility class is used to hide content from all users except screen readers. This is useful for content that is only relevant to screen reader users, such as skip links.
If you wonder how this works, here is the CSS code:
Not Screen Reader Only (Cancels sr-only)
link Not Screen Reader Only (Cancels sr-only)The .o-not-sr-only
utility class is used to cancel the .o-sr-only
utility class. This is useful for content that is only relevant to screen reader users, such as skip links.
If you wonder how this works, here is the CSS code: