Skip to content

Commit e7afa61

Browse files
committed
spec/css3-flexbox/accessibility: edited
1 parent b22f0c6 commit e7afa61

1 file changed

Lines changed: 29 additions & 3 deletions

File tree

spec/css3-flexbox/accessibility.txt

Lines changed: 29 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
1+
====== Flexbox Accessibility Implications and Solution Suggestion ======
2+
13
This page is a research page to discuss pros and cons of UA's changing the tab order and screen reader flow (through the a11y API) to match the new visual layout when flexbox order rearranges elements on a page.
24

3-
===== Example =====
5+
===== Example of How Flexbox causes problems for Tabbing and Assistive Technology (AT) =====
46
==== 1.) Author creates nested containers (boxes) in html ====
57

68

@@ -30,10 +32,34 @@ box 1, box 2, box 3
3032

3133
== Diagram ==
3234
{{:spec:css3-flexbox:flexbox2.jpg|}}
33-
----
3435

36+
**Problem:** The visual order (Box Tree) is now opposite the DOM order and subsequently, the Tab Order and Screen Reader order
37+
38+
===== Solution =====
39+
40+
====1.) When the visual order is changed via Flexbox, the UA Tab order should logically follow the newly arranged box tree====
41+
42+
43+
== DOM order (unchanged) ==
44+
box 1, box 2, box 3
45+
46+
== Visual order (**changed**) ==
47+
box 3, box 2, box 1
48+
49+
== Tab and Accessibility Tree order (**changed**) ==
50+
box 3, box 2, box 1
51+
52+
== Diagram ==
53+
{{:spec:css3-flexbox:flexbox3.jpg|}}
54+
55+
==== 2.) The Box Tree visual change should be mapped to the Accessibility API so that AT’s have the same experience.====
56+
57+
58+
59+
60+
61+
======= Proposal Statement =======
3562

36-
**Proposal Statement:**
3763

3864
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.
3965

0 commit comments

Comments
 (0)