-
-
Notifications
You must be signed in to change notification settings - Fork 604
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
Use of <article> tag inconsistent with definition in HTML spec #467
Comments
Hi, I understand your point but actually the spec also suggest that the
You can see some examples in the MDN docs: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/article I used an accessibility testing tool and there is no issue by using articles in this way, I would say that this is even the way to do it. I appreciate your concern but I think no changes are needed in this case. |
The accessibility of the template is quite good, barring this one issue. I would encourage you to try an actual screen-reader rather than an accessibility testing tool in order to observe the impact. (ChromeVox is free, and behaves quite closely to commercial screen-readers) The "self contained" and "independently redistributable" semantic requirements are actually pretty important. You'll observe that the screen reader will treat each The examples cited in the MDN docs are for blogs where the actual articles are peers or descendants on a single long page, rather than a list of article links. I'll be working with impacted users next week to get their opinions -- I'll be A/B testing versions that treat each card as either plain-old |
Hi there -- the Liebling template uses an
<article>
tag as the top-level element for each article card. While it's understandable how this would seem reasonable, it's actually not okay under the spec.The
<article>
tag is intended to contain a self-contained, independantly-distributable composition. The cards on the list pages don't satisfy this condition. In particular, the use of the<article>
element creates downstream accessibility issues for folks that use screen-readers.The text was updated successfully, but these errors were encountered: