pnp / pnp/sp-dev-fx-controls-react

Accessibility Issue in RichText Role and selected state are not announced for color controls

Open
#1,943 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

help wanted type:bug
Dominant language
TypeScript
Stars
433
Forks
418
Avg merge
5d 6m
Merged PRs (30d)
19

Description

User Experience:
Screen reader dependent users will be impacted as the Role and selected state are not announced for color controls. Due to this, users will not be able to identify the purpose of the control. This will confuse them.

Actual Result:
Role and selected state are not announced for color controls.

Like: at "Theme Darker blue" color control->
NVDA announces as: "table Theme darker row 1 column 1".
Narrator announces as: "No item in view".

Observation:
Narrator is not announcing the 'name' of color controls.
Expected Result:
Proper name, role and 'selected' state should be announced for color controls.
Like: Screen reader can announce: "Theme colors grouping, Theme darker blue button, selected 1 of 10"

See attached screenshot for your reference for Font Color:

Image

As you can see NVDA is not announcing state for the selected color which will confuse the screen reader users.

See attached screenshot for your reference for Highlighted Color:

Image

As you can see Aqua color is selected still its announcing as not selected.

Contributor guide

No contributing guide indexed for this repository

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

No source file or test is identified in the issue. Start by reproducing the color-control behavior with NVDA and Narrator, then locate the RichText color controls and compare their announcements with the expected name, role, and selected state. Done means both font and highlight color controls announce the correct information.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.