2
2
3
3
This document is used as aria/accessibility(a11y) reference for future developers.
4
4
5
- There are a lot of a11y problems in the Fomantic UI library. This ` aria.js ` is used
6
- as a workaround to make the UI more accessible.
5
+ There are a lot of a11y problems in the Fomantic UI library. Files in
6
+ ` web_src/js/modules/fomantic/ ` are used as a workaround to make the UI more accessible.
7
7
8
- The ` aria.js ` is designed to avoid touching the official Fomantic UI library,
8
+ The aria-related code is designed to avoid touching the official Fomantic UI library,
9
9
and to be as independent as possible, so it can be easily modified/removed in the future.
10
10
11
11
To test the aria/accessibility with screen readers, developers can use the following steps:
@@ -14,7 +14,7 @@ To test the aria/accessibility with screen readers, developers can use the follo
14
14
* Press ` Command + F5 ` to turn on VoiceOver.
15
15
* Try to operate the UI with keyboard-only.
16
16
* Use Tab/Shift+Tab to switch focus between elements.
17
- * Arrow keys to navigate between menu/combobox items (only aria-active, not really focused).
17
+ * Arrow keys (Option+Up/Down) to navigate between menu/combobox items (only aria-active, not really focused).
18
18
* Press Enter to trigger the aria-active element.
19
19
* On Android, you can use TalkBack.
20
20
* Go to Settings -> Accessibility -> TalkBack, turn it on.
@@ -75,7 +75,7 @@ Fomantic Dropdown is designed to be used for many purposes:
75
75
Fomantic Dropdown requires that the focus must be on its primary element.
76
76
If the focus changes, it hides or panics.
77
77
78
- At the moment, ` aria.js ` only tries to partially resolve the a11y problems for dropdowns with items.
78
+ At the moment, the aria-related code only tries to partially resolve the a11y problems for dropdowns with items.
79
79
80
80
There are different solutions:
81
81
0 commit comments