@@ -1148,17 +1148,15 @@ Reordering and Accessibility</h3>
11481148 A well-implemented spatial navigation feature would need to consider
11491149 all the layout features of CSS that modify spatial relationships.
11501150
1151- <h2 id='reading-order-items'>
1152- Reading Order: the 'reading-order-items' property</h2>
1153-
1154- ISSUE(9921): Should this property be 'reading-order' or 'reading-flow' ?
1151+ <h2 id='reading-flow'>
1152+ Reading Order: the 'reading-flow' property</h2>
11551153
11561154ISSUE(9922): Should this property also apply to tables?
11571155
1158- ISSUE(9923 ): A proposed alternative syntax .
1156+ ISSUE(9230 ): Define how reading-flow interacts with focusable display: contents elements .
11591157
11601158 <pre class='propdef'>
1161- Name : reading-order-items
1159+ Name : reading-flow
11621160 Value : normal | flex-visual | flex-flow | grid-rows | grid-columns | grid-order
11631161 Initial : normal
11641162 Applies to : flex and grid containers
@@ -1167,13 +1165,13 @@ ISSUE(9923): A proposed alternative syntax.
11671165 Animation type : not animatable
11681166 </pre>
11691167
1170- The 'reading-order-items ' property controls the order in which
1168+ The 'reading-flow ' property controls the order in which
11711169 elements in a flex or grid layout are rendered to speech
11721170 or are navigated to when using (linear) sequential navigation methods.
11731171
11741172 It takes one keyword value. Values are defined as follows:
11751173
1176- <dl dfn-for=reading-order-items dfn-type=value>
1174+ <dl dfn-for=reading-flow dfn-type=value>
11771175 <dt> <dfn>normal</dfn>
11781176 <dd>
11791177 Follow the order of elements in the DOM.
@@ -1183,7 +1181,7 @@ ISSUE(9923): A proposed alternative syntax.
11831181 Follows the visual reading order of flex items,
11841182 taking the writing mode into account.
11851183 Therefore, a document in English, with a 'flex-direction' of 'row-reverse'
1186- and 'reading-order-items ' of 'flex visual'
1184+ and 'reading-flow ' of 'flex visual'
11871185 would have a reading order of left to right.
11881186 <dt> <dfn>flex-flow</dfn>
11891187 <dd>
@@ -1208,7 +1206,7 @@ ISSUE(9923): A proposed alternative syntax.
12081206
12091207 <div class='example'>
12101208 In this example, there are three flex items displayed as a row,
1211- The 'reading-order-items ' property has a value of 'flex-visual' .
1209+ The 'reading-flow ' property has a value of 'flex-visual' .
12121210 The 'flex-direction' property is 'row-reverse' .
12131211 We are in English with a text direction of left to right.
12141212 The reading order of these items is therefore
@@ -1226,15 +1224,15 @@ ISSUE(9923): A proposed alternative syntax.
12261224 .wrapper {
12271225 display: flex;
12281226 flex-direction: row-reverse;
1229- reading-order-items : flex-visual;
1227+ reading-flow : flex-visual;
12301228 }
12311229 </pre>
12321230 </div>
12331231
12341232 <div class='example'>
12351233 In this example there are four grid items,
12361234 placed on a grid and displayed visually out of DOM order.
1237- The 'reading-order-items ' property has a value of 'grid-rows' ,
1235+ The 'reading-flow ' property has a value of 'grid-rows' ,
12381236 and the document is in English.
12391237 The reading order of these items is therefore
12401238 "Item 4", "Item 2", "Item 3", "Item 1".
@@ -1254,7 +1252,7 @@ ISSUE(9923): A proposed alternative syntax.
12541252 grid-template-columns: repeat(3, 150px);
12551253 grid-template-areas: "d b b"
12561254 "c c a";
1257- reading-order-items : grid-rows;
1255+ reading-flow : grid-rows;
12581256 }
12591257
12601258 .a { grid-area: a; }
@@ -1264,15 +1262,15 @@ ISSUE(9923): A proposed alternative syntax.
12641262 </pre>
12651263 </div>
12661264
1267- The 'reading-order-items ' property affects neither layout nor painting order
1265+ The 'reading-flow ' property affects neither layout nor painting order
12681266 and therefore has no effect on rendering to the visual [=canvas=] .
12691267
12701268 When using a 'flex-*' or 'grid-*' keyword value,
12711269 the 'order' property is taken into account.
12721270
12731271 <div class='example'>
12741272 In this example, there are three flex items displayed as a row,
1275- The 'reading-order-items ' property has a value of 'flex-flow' .
1273+ The 'reading-flow ' property has a value of 'flex-flow' .
12761274 The third item in the DOM has 'order=-1' .
12771275 The reading order of these items is therefore
12781276 "Item 3", "Item 1", "Item 2".
@@ -1292,14 +1290,14 @@ ISSUE(9923): A proposed alternative syntax.
12921290
12931291 .wrapper {
12941292 display: flex;
1295- reading-order-items : flex-flow;
1293+ reading-flow : flex-flow;
12961294 }
12971295 </pre>
12981296 </div>
12991297
13001298 Advisement: The source document should express
13011299 the underlying logical order of elements.
1302- The 'reading-order-items ' property exists for cases where a given document
1300+ The 'reading-flow ' property exists for cases where a given document
13031301 can have multiple reading orders depending on layout changes,
13041302 e.g. in response to [=media queries=] .
13051303 In such cases, the most common or most fundamental reading order
@@ -1309,8 +1307,8 @@ ISSUE(9923): A proposed alternative syntax.
13091307 If the host language defines features for explicitly controlling
13101308 the reading or navigation order
13111309 (such as <a href="https://html.spec.whatwg.org/multipage/interaction.html#attr-tabindex"><code>tabindex</code></a> [[HTML]] ),
1312- these take precedence over 'reading-order-items ' :
1313- the modified document order created by 'reading-order-items '
1310+ these take precedence over 'reading-flow ' :
1311+ the modified document order created by 'reading-flow '
13141312 essentially replaces the underlying source order
13151313 for the purpose of such features.
13161314
@@ -1320,7 +1318,7 @@ ISSUE(9923): A proposed alternative syntax.
13201318 <summary> Design Considerations and Background</summary>
13211319
13221320 Some of the considerations that went into the design
1323- of 'reading-order-items ' are:
1321+ of 'reading-flow ' are:
13241322
13251323 * There are clear use cases for disconnecting
13261324 the [=reading and navigation order=] from the box layout order,
@@ -1355,7 +1353,7 @@ ISSUE(9923): A proposed alternative syntax.
13551353 ISSUE(7387): DOM needs a convenient reordering function
13561354 so that authors (even authors who don't usually write JS)
13571355 can easily perform source order reordering when necessary
1358- instead of misusing 'order' or 'reading-order-items ' .
1356+ instead of misusing 'order' or 'reading-flow ' .
13591357
13601358<!--
13611359██ ██ ████ ██████ ████ ████████
@@ -2148,7 +2146,7 @@ Additions since Level 3</h3>
21482146
21492147 The following features were added since <a href="https://www.w3.org/TR/css-display-3/">CSS Display Module Level 3</a> :
21502148
2151- * the 'reading-order-items ' property
2149+ * the 'reading-flow ' property
21522150 (<a href="https://github.com/w3c/csswg-drafts/issues/8589#issuecomment-1721504153">Issue 8589</a> )
21532151 * the ability to animate 'display'
21542152
0 commit comments