-
Notifications
You must be signed in to change notification settings - Fork 125
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
DPUB abstract/afterword/foreword/epilogue/qna/preface/prologue roles are unnecessary for accessibility #50
Comments
Ditto for afterword, foreword, epilogue, preface, and prologue |
Remember that A11Y isn't just about ATs. It is also about machines understanding the content. Having a search engine know that an area of a publication is the abstract / prologue / whatever will improve the ability to search for essential data. |
That's fine, but all the more reason to prefix and include and accessibility fallback role if that's the intended use. Members of DPUB have implied all these roles are for accessibility, so I'm pointing out that they are not very useful for the stated purpose. |
Ditto "qna" role |
The are potentially something assistive technologies would want to provide navigation for, however. Mind you I personally would assume whatever the "quick key" is, it would be the same. If so, could this need be addressed by adding new types of landmark? |
I agree that using a landmark role for these is beneficial for quick navigation, but I don't think they need separate role semantics. We have discussed making labeled regions a generic landmark. So these could labels ("Prologue", etc) on an element with role="region" |
Then I’d (re)assert that the need to convey information to machines understanding the content for that purpose can be accomplished using something other than the role attribute. I believe it is a language-design mistake to try to shoehorn not-for-AT information into the role attribute. Also I am not interested in burdening users of the conformance checker I work on with consequences of adding unnecessary complexity to the reporting behavior for the role attribute. That checker behavior and reporting for users is already extremely complicated enough to the point of being baroque even though at this point it’s only limited to checking conformance rules for ARIA 1.0 role values and associated states and properties allowed for those particular roles. I’m not going to implement support for some further fiddling with the role attribute for other things that I consider to be fundamentally bad language design that violates language principles that have been guiding the HTML over its history and in particular over the last 10 years—and that breaks with sound precedents that have been set. |
I agree with @cookiecrook that these roles seem superfluous. If the abstract role remains though, I suggest we find a different name for it. Calling a concrete role "abstract", when an abstract role is a very specific thing in programming terms, is not good usability. |
These are accessibility because explicit semantic markup is the only way Janina Léonie Watson writes:
Janina Sajka, Phone: +1.443.300.2200 Linux Foundation Fellow The World Wide Web Consortium (W3C), Web Accessibility Initiative (WAI) |
I think it is an important principle that we not let artifacts of the This is important not just for the role of "abstract" being proposed, This is a road we should not go down. The ARIA spec should not prohibit On 06/05/2015 10:06 AM, JaninaSajka wrote:
|
I agree with Michael. Also, the task force agreed to not show the abstract roles, used for purposes of the taxonomy, in the spec. |
Thank you for your feedback. This issue has been resolved by editing the document to comply with the rules for extending ARIA (https://www.w3.org/WAI/PF/wiki/ARIAExtensions). |
The DPUB abstract role is unnecessary for accessibility. This is a simple section/chapter/region, etc. whose additional semantics are clearly conveyed by the labeling heading (usually "Abstract"). If this role is intended for parsing, I suggest using an ID instead.
<section id="abstract">
The text was updated successfully, but these errors were encountered: