LoginSignup
0
0

More than 1 year has passed since last update.

The element ul has an implicit role of list. Defining this explicitly is redundant and should be avoided

Posted at

ul要素にrole="list"を明示した際に出た警告。
role="list"を削除することで消える。

🔽 以下、参考にした英文ページを翻訳したもの
https://www.scottohara.me/blog/2019/01/12/lists-and-safari.html

2023年1月 - Safariが入れ子のコンテキストに基づいてリストのセマンティクスを公開する方法について、追加のアップデートがありました。例えば、リストが 要素の子孫である場合、リストスタイルが削除されても、Safari/VoiceOverはこれをリストとしてユーザーに公開します。

Safari/VoiceOverの動作は、バグによるものではなく、視覚的なスタイルが削除されたリストを開発者が多用することに対する反応であることを念頭に置いてください。もはやリストには見えないが、実際にリストとして公開する必要があるかどうかは、ご自身の判断でお願いします。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0