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

Accessibility Issue: aria-invalid attributes in all controls (Textfield, PeoplePicker, DateControl, etc)

Open
#187 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Category

[x ] Enhancement

[ ] Bug

[ ] Question

Version

Please specify what version of the library you are using: [ all versions ]

Expected

Based on the control standard, the attribute aria-invalid is supported to let the narrator to read the error message on the control if any. However, all sp-dev-fx-controls-react do not have this attribute.

Reference: https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/ARIA_Techniques/Using_the_aria-invalid_attribute

Observed Behavior

All controls are not implemented with this aria-Invalid attribute

Steps to Reproduce

Library Code.

Thanks!

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

Start by inspecting the Textfield, PeoplePicker, DateControl, and other controls in sp-dev-fx-controls-react, using the linked aria-invalid reference to understand the expected accessibility behavior. Add support for aria-invalid across the controls and verify that narrator users can receive control error messages.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.