callmecavs / callmecavs/outset
add "visually hidden" mixin/helper
- Dominant language
- SCSS
- Stars
- 172
- Forks
- 10
- PR merge metrics
- No merged PRs in 30d
Description
add a class or Sass mixin to hide something in a manner that is still accessible to screen readers
[html5bp](https://github.com/h5bp/html5-boilerplate/blob/master/dist/css/main.css#L113-L133) uses:
```css
.sr-only {
border: 0;
clip: rect(0, 0, 0, 0);
height: 1px;
margin: -1px;
overflow: hidden;
padding: 0;
position: absolute;
white-space: nowrap;
width: 1px;
}
```
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reviewing the linked html5bp CSS implementation and locating the project's Sass entry point. Add a class or Sass mixin that visually hides content while keeping it accessible to screen readers; done means the requested helper is available in the frontend styles.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- scss
- Domain
- accessibility, frontend
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100