You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: spec/css3-flexbox/accessibility.txt
+8-6Lines changed: 8 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -37,8 +37,8 @@ box 1, box 2, box 3
37
37
38
38
===== Solution =====
39
39
40
-
====1.) When the visual order is changed via Flexbox, the UA Tab order should logically follow the newly arranged box tree====
41
-
40
+
====1.) When the visual order is changed via Flexbox, the UA Tab order should logically follow the newly arranged box tree====
41
+
==== 2.) The Box Tree visual change should be mapped to the Accessibility API so that AT’s have the same experience.====
42
42
43
43
== DOM order (unchanged) ==
44
44
box 1, box 2, box 3
@@ -52,7 +52,7 @@ box 3, box 2, box 1
52
52
== Diagram ==
53
53
{{:spec:css3-flexbox:flexbox3.jpg|}}
54
54
55
-
==== 2.) The Box Tree visual change should be mapped to the Accessibility API so that AT’s have the same experience.====
55
+
56
56
57
57
58
58
@@ -61,6 +61,7 @@ box 3, box 2, box 1
61
61
======= Proposal Statement =======
62
62
63
63
64
+
==== Proposal ====
64
65
If Flexbox is used to rearrange content, the box tree and accessibility API should be updated to also change the keyboard and screen reader flow to match the new visual layout.
65
66
66
67
**Original W3C Working Draft** http://www.w3.org/TR/css-flexbox-1/#order-accessibility
@@ -71,7 +72,8 @@ The order property does not affect ordering in non-visual media (such as speech)
71
72
72
73
The order property **affects** ordering in non-visual media (such as speech). Likewise, order **affects** the default traversal order of sequential navigation modes (such as cycling through links, see e.g. nav-index [CSS3UI] or tabindex [HTML40]). Authors must use order only for visual, not logical, reordering of content; style sheets that use order to perform logical reordering are non-conforming.
73
74
74
-
**Arguments Against the Proposal**
75
+
==== Arguments Against the Proposal ====
76
+
75
77
- The interaction will not be consistent with content that has been similarly visually rearranged with Float and does not change the logical order
76
78
- Flexbox will lose the intended opportunity to rearrange the visual order without changing the logical tabbing order for keyboard users
77
79
- It will be difficult to implement and track the logical order change to the box tree and the accessibility tree
@@ -80,7 +82,7 @@ The order property **affects** ordering in non-visual media (such as speech). Li
80
82
- Devs should not be using Flexbox to fix problems with the layouts
81
83
- Blind users will end up with a different experience on mobile than desktop
82
84
83
-
**Rebuttals to Arguments Against**
85
+
==== Rebuttals to Arguments Against ====
84
86
- Float is already recognized as a risk for keyboard users and only advised if the logical order already makes sense without any CSS http://www.w3.org/TR/2005/WD-WCAG20-CSS-TECHS-20050630/#float
85
87
- No evidence or example that this is a desirable outcome
86
88
- This is the direction CSS is moving and the risk is too great to ignore due to effort
@@ -89,7 +91,7 @@ The order property **affects** ordering in non-visual media (such as speech). Li
89
91
- Devs will continue to do this regardless of best practices. It’s easy and has major performance implications
90
92
- Blind users want the same experience that visual users get in each context
91
93
92
-
**Additional Arguments for the Proposal**
94
+
==== Additional Arguments for the Proposal ====
93
95
- Developers recognize Flexbox as a performance enhancer and are using it in lieu of javascript
94
96
- High Contrast mode users are at risk of jumping around a screen causing confusion as they see only a small portion of the screen
95
97
- Visual Keyboard users have difficulty tabbing to information that visually shows up early but is logically near the end. Example: navigation list that is logically at the end but moved to the middle left using flexbox
0 commit comments