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
header and footer are not output correctly #216
Comments
FYI @JAWS-test, if posting HTML tags inline you'll need to wrap them in ` marks, otherwise when your comment is published, GitHub will try to render those tags. I've edited your comment to fix GitHub trying to render the markup you posted, so you can check out what i did there :) |
@scottaohara Sorry for my mistake and many thanks for the correction. |
no worries at all :) |
Back to the issue at hand... can confirm that markup structure has an impact on how landmarks are exposed / discoverable by JAWS, with the greatest variability being with IE11 (which makes sense due to it's lack of native support for the landmark roles). Test cases: |
Additional tests for |
Works for me in JAWS 2024.2310.70, Chrome and Firefox, so closing |
Summary
The html elements header and footer are not output according to the specification.
http://www.w3.org/TR/wai-aria-practices-1.1/#aria_lh_banner
http://www.w3.org/TR/wai-aria-practices-1.1/#aria_lh_contentinfo
http://www.w3.org/TR/html-aam-1.0/
Unfortunately, the specification of when to output header and footer contradicts each other, but this has no effect on the present case.
Example:
Expected result
The html elements header and footer are either always output or at least outside article, aside, main, nav and section.
It would also be useful if the output of html element and corresponding ARIA role were equivalent. However, this is a problem of specification and not of JAWS.
Actual result
IE 11: No output as soon as, for example, a child element of
<div>
Chrome: Correct.
Firefox: Is always output, even if it is a child element of
<main>
etc.Edge:
<header>
and<footer>
are not output<header>
and<footer>
are reached (as long as they are not inside elements such as<main>
), but the role is not output.Additional Information
JAWS version and build number
JAWS 2019.1904.60
To perform the test correctly, the output of landmark regions must be activated (INS+6 > Web/HTML/PDF > Reading > High).
Operating System and version
Windows 10
Browser and version:
IE 11, Firefox, Chrome, Edge (always current version)
The text was updated successfully, but these errors were encountered: