Skip to content

Commit c1cd6eb

Browse files
authored
doc(react-tree): adds a11y edge cases to the docs (#28897)
1 parent fc1172b commit c1cd6eb

2 files changed

Lines changed: 40 additions & 1 deletion

File tree

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
<details>
2+
<summary>
3+
Accessibility edge cases scenarios
4+
</summary>
5+
6+
Here are some accessibility edge cases scenarios we identified and users should keep in mind while using the `Tree` components.
7+
8+
NVDA
9+
10+
1. [Single select tree - narration of grouping #15290](https://github.com/nvaccess/nvda/issues/15290)
11+
2. [Single select tree - narration aria-selected makes verbosity with redundant "selected" #15289](https://github.com/nvaccess/nvda/issues/15289)
12+
13+
VoiceOver/Chromium
14+
15+
1. [Issue 1273540: Tree as table in Mac > VoiceOver narrates " 0 items enclosed " when user navigates to expaded treeitem](https://bugs.chromium.org/p/chromium/issues/detail?id=1273540)
16+
2. [Issue 1273544: Tree as table in Mac > VoiceOver doesn't narrate aria-labelledby element on treeitem](https://bugs.chromium.org/p/chromium/issues/detail?id=1273544)
17+
3. [Issue 1377818: Tree - Treeitem - Accessibility name received from content includes the aria-hidden button name](https://bugs.chromium.org/p/chromium/issues/detail?id=1377818)
18+
19+
VoiceOver
20+
21+
1. [Bug 8223307](https://office.visualstudio.com/APEX/_workitems/edit/8223307): VoiceOver doesn't narrate level of tree
22+
2. [Bug 8223375](https://office.visualstudio.com/APEX/_workitems/edit/8223375): VoiceOver doesn't list tree/table in the rotor
23+
iOS
24+
3. [Bug 8232232](https://office.visualstudio.com/APEX/_workitems/edit/8232232): iOS : VoiceOver - Select tree with checkboxes - no narration of ticket/unticked state
25+
26+
JAWS
27+
28+
1. [Treeview - JAWS doesn't narrate position for each tree item #338](https://github.com/FreedomScientific/standards-support/issues/338)
29+
2. [JAWS doesn't narrated "toolbar" keyword in navigable treeitem with actions buttons #747
30+
](https://github.com/FreedomScientific/standards-support/issues/747)
31+
32+
Narrator
33+
34+
1. [Bug 45975192](https://microsoft.visualstudio.com/OS/_workitems/edit/45975192): Single select tree - narration aria-selected makes verbosity with redundant "selected"
35+
2. [Bug 46020629](https://microsoft.visualstudio.com/OS/_workitems/edit/46020629): Select tree with checkboxes - no narration of checked state
36+
3. [Bug 46020726](https://microsoft.visualstudio.com/OS/_workitems/edit/46020726): Select tree with checkboxes - no able to toggle check state with space in scan mode
37+
38+
</details>

packages/react-components/react-tree/stories/Tree/index.stories.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ import { Tree, TreeItem, TreeItemLayout, TreeItemPersonaLayout, FlatTree } from
22

33
import descriptionMd from './TreeDescription.md';
44
import bestPracticesMd from './TreeBestPractices.md';
5+
import a11yMd from './TreeA11y.md';
56

67
// VISUAL EXAMPLES
78
export { Default } from './TreeDefault.stories';
@@ -34,7 +35,7 @@ export default {
3435
parameters: {
3536
docs: {
3637
description: {
37-
component: [descriptionMd, bestPracticesMd].join('\n'),
38+
component: [descriptionMd, bestPracticesMd, a11yMd].join('\n'),
3839
},
3940
},
4041
},

0 commit comments

Comments
 (0)