---
title: "Discussion on \"How to Implement a Proper .sr-only Class for Accessibility\" | Hashnode"
description: "Discussion on \"How to Implement a Proper .sr-only Class for Accessibility\". When building accessible web interfaces, there are cases where content should be visually hidden but still available to screen readers.This is where the .sr-only (screen-reader-only) pattern is commonly used.\nHowever, an incorrect implementation can ..."
url: "https://hashnode.com/posts/how-to-implement-a-proper-sr-only-class-for-accessibility/6968ea59b1d18f5385d63e36"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [How to Implement a Proper .sr-only Class for Accessibility](https://nmjc.hashnode.dev/how-to-implement-a-proper-sr-only-class-for-accessibility?utm_source=hashnode&utm_medium=feed)

When building accessible web interfaces, there are cases where content should be visually hidden but still available to screen readers.This is where the .sr-only (screen-reader-only) pattern is commonly used. However, an incorrect implementation can ...

Jan 15 · 5 min read · nmjc.hashnode.dev  
Updated Jan 19  
Read the article

-   [#sr-only](https://hashnode.com/tag/sr-only)
-   [#a11y](https://hashnode.com/tag/a11y)
-   [#web-accessibility](https://hashnode.com/tag/web-accessibility)

## Written by

[Bak Yeonha](https://hashnode.com/@bak-yh)

@bak-yh · Seoul, South Korea

  
[View profile](https://hashnode.com/@bak-yh)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
