patternfly / patternfly/patternfly-org

Modal - Add content for elementToFocus prop in a11y docs

Open
#4,416 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

A11y PF Team
Dominant language
JavaScript
Stars
74
Forks
147
Avg merge
4d 11h
Merged PRs (30d)
2

Description

Is this a new page or a change to an existing one?
Modal a11y docs

Describe the enhancement
We should add content in the a11y docs related to the elementToFocus prop introduced in React, which allows customizing what receives focus when the Modal is opened + what should typically receive focus.

Any other information?

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

The issue points to the Modal accessibility documentation; start there and review the React elementToFocus prop and its focus behavior. Done means the docs explain how the prop customizes focus when the Modal opens and what should typically receive focus.

Written by the indexing model from the issue text.

Assessment

Tech stack
react
Domain
accessibility, documentation
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.