-
Notifications
You must be signed in to change notification settings - Fork 124
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
[HTML-AAM] proscribe header/footer mappings to landmark roles #277
Comments
This was also discussed in the APG call from February 29th. |
I agree with this change. It should be harder rather than easier to make banner and contentinfo landmark. |
As I understand it, this is what the HTML-AAM already states for both footer and header Only where the
It is true, though, that a |
@jasonkiss yes you are correct, although i have always read it as |
I agree tot he |
@stevefaulkner No objections from my end, either. Please file a bug against Firefox and CC me if we still have a bug in our implementation. |
@MichielBijl yes that's what I mean. @MarcoZehe - thanks will file! |
Have updated HTML-AAM to add |
firefox bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1252799 |
@stevefaulkner |
yes |
@stevefaulkner thanks for clarification. |
@stevefaulkner et al.
If so, then a bug against HTML5.1 should be filed so that, for example, the If there is no assumption that Is another possible approach to clarify in HTML5.1 with author guidance that |
I agree it may not be clear, but what you have changed it to reads as the opposite of what is intended:
The pattern is:
so I think should read more like footer (nearest ancestor sectioning content or sectioning root element is not body, or parent is main) |
@stevefaulkner good catch. I mistakenly had the converse. Fixed in 66e5317 |
The more I think about this, the more I think we shouldn't bother specifying that I'd currently consider it author error to use If we do want to say that
The above scenarios might be described as "header (descendant of body but not descendant of main or of other sectioning content or sectioning root element)" Patterns where
Can we describe these as, for example, "header (descendant of main, or of sectioning content or sectioning root element other than body)"? |
yes |
I'm still not entirely comfortable with this change. What is an author intending when nesting And so why, from an a11y API perspective, would the relative positioning of Either |
take a look at the following example http://codepen.io/stevef/pen/VavBay I don't think it is either an author error or misunderstanding (conforms to HTML), but as it currently stands, for implicit sections, all headers=banner which is not desirable. |
I agree that |
HTML encourages use of |
Then I suggest the element definition for
|
This issue was moved to w3c/html-aam#34 |
It has been suggested that browser mappings for header = banner and footer=contentinfo should be only be exposed when the header/footer elements are scoped to the body element.
refer to w3c/html-aria#27
The text was updated successfully, but these errors were encountered: