Repository navigation
Conversation
- 0451(デザインチェック): `aria-label` を空にしても無視されないため、 具体的な手段の列挙をやめ、「支援技術に無視させるべき」という意図の 明示を求める内容に変更 - 0461(コードチェック): 要素の種類ごとに適切な手段を明示し、 `role="none"` を併記
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
概要
情報や機能性を持たない画像を無視させる方法についての記述に、以下の問題があったため修正した。
aria-label属性の値を空にしても、その要素はアクセシビリティーツリーから除外されないrole="none"が併記されていない、またimg要素か否かで方法が異なる点が明確でない変更内容
data/yaml/checks/design/0451.yaml具体的な手段の列挙をやめ、「スクリーン・リーダーなどの支援技術に無視させるべきことが設計資料で明示されている」ことを確認する内容に変更した。
data/yaml/checks/code/0461.yaml要素の種類ごとに適切な手段を明示するよう変更した。
img要素の場合は、空のalt属性(alt="")を指定img要素以外の要素で画像を表現している場合は、role="none"またはrole="presentation"を指定