patternfly / patternfly/patternfly-react

Replace hard coded 'pf-v6-screen-reader' strings

Open
#10,955 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Stale
Dominant language
TypeScript
Stars
862
Forks
392
Avg merge
4d 8h
Merged PRs (30d)
9

Description

Describe the enhancement or change

Replace hard coded 'pf-v6-screen-reader' strings with object from react-styles so that we don't have to manually bump it to v7 etc in the future?

style can be found here @patternfly/react-styles/css/utilities/Accessibility

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Search the repository for hard-coded "pf-v6-screen-reader" strings and inspect the Accessibility styles at @patternfly/react-styles/css/utilities/Accessibility. Replace those references with the react-styles object so future version changes do not require manual string updates. Done means no targeted hard-coded v6 strings remain and the existing accessibility behavior is preserved.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
accessibility, frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.