当一个地标元素也有一个标题时,它是否应该有一个 aria-label ? 示例 1 - 页面上的实际文章示例 2 - 整篇文章是一个链接示例 3 - 与您的示例相同,但删除了 aria-label

问题描述

屏幕阅读器用户有多种选择来访问页面上的内容。
例如,所有标题的列表,还有地标列表。
使用 no_sus <- numeric() x<-0 while (x <= 10) { print(crimes$id) if (crimes$outcome_status_category == "Investigation complete; no suspect identified" ) } x = x+1 } ,您可以标记地标。

考虑以下标记:

aria-label

问题:

以上示例中的 <main> <h1>My Blog items</h1> <article aria-label="Why blueberries tast good"> <h2>Why blueberries tast good</h2> <p>Some content about blueberries</p> <a href="/why-blueberries-test-good">Read more</a> </article> <article aria-label="I don't like apples"> <h2>I don't like apples</h2> <p>Text about why I don't like apples</p> <a href="/i-dont-like-apples">Read more</a> </article> <article aria-label="Oranges are orange"> <h2>Oranges are orange</h2> <p>An article discussing the color of fruit</p> <a href="/oranges-are-orange">Read more</a> </article> </main> 对屏幕阅读器用户有用吗,还是它们太过分了?

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)