-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
A11y: Fix aria attribute for page number and add correct role (#29349)
* Update PageNumber.tsx aria-selected is a wrong attribute for button. The correct attribute is aria-checked. Also, added role radio to reflect the correct role of this pagination. * add role="radiogroup" to parent of PageNumber * revert fromating * reverting * Updated role * yarn change * Update @fluentui-react-experiments-57365fad-141e-43e2-9842-f73ce2632d56.json Update change description * Update @fluentui-react-experiments-57365fad-141e-43e2-9842-f73ce2632d56.json Fix typo and wording in change file * update snapshot --------- Co-authored-by: Amr Eladawy <amreladawy@mirosoft.com> Co-authored-by: Ben Howell <48106640+behowell@users.noreply.github.com>
- Loading branch information
1 parent
20ce41b
commit d310692
Showing
4 changed files
with
23 additions
and
8 deletions.
There are no files selected for viewing
7 changes: 7 additions & 0 deletions
7
change/@fluentui-react-experiments-57365fad-141e-43e2-9842-f73ce2632d56.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"type": "patch", | ||
"comment": "fix(Pagination): Add radio role for the pagination buttons and radiogroup role for the parent div", | ||
"packageName": "@fluentui/react-experiments", | ||
"email": "amreladawy@mirosoft.com", | ||
"dependentChangeType": "patch" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters