informative li element role clarification (#578) · w3c/html-aria@ee49004
scottaohara
·
2026-04-15
·
via Recent Commits to html-aria:gh-pages
| Original file line number | Diff line number | Diff line change |
|---|
@@ -2292,14 +2292,14 @@ <h2 id="docconformance">
|
2292 | 2292 | </th> |
2293 | 2293 | <td> |
2294 | 2294 | <p> |
2295 | | - If the `li` is a child of a list element |
2296 | | - (<a href="#el-ul">`ul`</a>, <a href="#el-ol">`ol`</a>, |
2297 | | -<a href="#el-menu">`menu`</a>) |
| 2295 | + If the `li` is a child of an element exposed as a `role=list` |
| 2296 | + (e.g., <a href="#el-ul">`ul`</a>, <a href="#el-ol">`ol`</a>, |
| 2297 | +<a href="#el-menu">`menu`</a>): |
2298 | 2298 | <code>role=<a href="#index-aria-listitem">listitem</a></code>. |
2299 | 2299 | </p> |
2300 | 2300 | <p> |
2301 | | - Otherwise, if the `li` is not a child of a list element it is exposed as |
2302 | | -a <code>role=<a href="#index-aria-generic">generic</a></code>. |
| 2301 | + Otherwise, |
| 2302 | +<code>role=<a href="#index-aria-generic">generic</a></code> |
2303 | 2303 | </p> |
2304 | 2304 | </td> |
2305 | 2305 | <td> |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。