We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
<main>タグにrole="main"や<footer>タグにrole="contentinfo"など、 HTML5に対応仕切れていないUAのためにrole属性を指定しておくべきか?
<main>
role="main"
<footer>
role="contentinfo"
HTML5もWAI ARIAも、仕様書としては同じ意味を持つタグにrole属性をつけるべきではないということになっている。 HTML5のバリデーターに通すと、警告が出る。冗長であっても、クライアントの規模などを考えて、対応すべきであれば指定しておくことが必要とも考えられる。
対応していないUAを調べる必要がある。
The text was updated successfully, but these errors were encountered:
デフォルトでは仕様書通りに指定しない。 指定しておくかどうかは案件次第だし、要件定義で決めておくべき。
Sorry, something went wrong.
No branches or pull requests
<main>
タグにrole="main"
や<footer>
タグにrole="contentinfo"
など、HTML5に対応仕切れていないUAのためにrole属性を指定しておくべきか?
HTML5もWAI ARIAも、仕様書としては同じ意味を持つタグにrole属性をつけるべきではないということになっている。
HTML5のバリデーターに通すと、警告が出る。冗長であっても、クライアントの規模などを考えて、対応すべきであれば指定しておくことが必要とも考えられる。
対応していないUAを調べる必要がある。
The text was updated successfully, but these errors were encountered: