-
-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
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
spec: WAI-ARIA role syntax #28
Comments
WAI-ARIA role syntax の見直し案Summary#5 (comment) の「role 属性について」から:
詳しい説明DPUB-ARIA で定義された role 属性に指定できる語彙は、文書の要素の論理的な意味を表すものとして標準となるもので、これをサポートすることは作られるWeb文書のアクセシビリティの向上のために有用である。 しかし、この role 属性は、クラス名とは違い、スタイルの指定に使いやすいようにはなっていない。スタイルの指定にはクラス名のほうが便利である( それならば、VFM でのクラス名を指定する構文(例: HTML/CSS のクラス名は、文書構造で論理的に意味のある名前を使うことが推奨されており、また、DPUB-ARIA で定義されているのはそのような語彙を集めたものなので、それをクラス名にも使うのは理にかなっている。 role 属性によって自動的に生成する HTML 要素を変える機能は、ある role 属性値を指定するのに適切な HTML 要素は一種類と限らないし、期待される適切な HTML 要素が生成されると限らないという問題がある。 |
昨日の開発者会議を受けた #67 のとおり、本機能は v2 へ見送ります。 |
https://github.com/vivliostyle/vfm/blob/master/docs/vfm.md#wai-aria-role
The
doc-
prefix of Digital Publishing WAI-ARIA roles should not be ommited in the VFM syntax. We should use{@doc-toc}
forrole="doc-toc"
because:[role="doc-toc"]
. Using same role name is better to understanddoc-*
The text was updated successfully, but these errors were encountered: