lsst-epo / lsst-epo/epo-react-lib
Add :focus-visible pseudo selectors
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 4
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
Our styles rely on the [focus-visible polyfill](https://github.com/WICG/focus-visible) however the native support for the `:focus-within` pseudo selector has reached 90%+ support with only older versions of Safari and IE not supporting.
Add styles for `:focus-within` alongside any styles targeting `.focus-within` to support un-polyfilled browsers. Example can be found in the styles for `Button`
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the Button styles referenced in the issue and search the repository for existing `.focus-within` selectors. Resolve whether the requested change is for `:focus-within` or `:focus-visible`, then compare the paired styles and verify that the intended styling works without the polyfill. Done means the relevant native pseudo-selector coverage is present alongside the existing class-based styles.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript
- Domain
- accessibility, frontend
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100