Skip to content
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

aria-hidden handled incorrectly #5833

Closed
mfairchild365 opened this issue Mar 25, 2016 · 4 comments
Closed

aria-hidden handled incorrectly #5833

mfairchild365 opened this issue Mar 25, 2016 · 4 comments
Labels
Abandoned requested reports or updates are missing since more than 1 year, author or users are not available. app/internet-explorer ARIA

Comments

@mfairchild365
Copy link
Contributor

Take the following html code as an example

<a href="#"><span aria-hidden="true">this is content</span><span class="visually-hidden">This should be visually hidden</span></a>

NVDA only announces 'this is content'.

In this example, the class .visually-hidden is defined as:

.visually-hidden {
    font-size: 0;
    width: 1px;
    height: 1px;
    display: inline-block;
    overflow: hidden;
    position: absolute!important;
    border: 0!important;
    padding: 0!important;
    margin: 0!important;
    clip: rect(1px,1px,1px,1px);
}

Note that the second span containing 'This should be visually hidden' is not spoken at all, even when the class .visually-hidden is removed.

I don't have access to other screen readers on windows, but chromevox and voice over work as expected, reading only 'this should be visually hidden'.

@jcsteh
Copy link
Contributor

jcsteh commented Mar 30, 2016 via email

@ehollig ehollig added the ARIA label Aug 16, 2017
@Adriani90
Copy link
Collaborator

@mfairchild365, @jcsteh I cannot reproduce this issue in Firefox 65.0.1 and Chrome 71. But I can reproduce the issue only in IE when routing the mouse with nvda+shift+m or when moving the mouse on the screen.
cc: @LeonarddeR, @nishimotz

@jcsteh
Copy link
Contributor

jcsteh commented Feb 18, 2019

Firefox changed its aria-hidden implementation last year such that aria-hidden content is no longer exposed to screen readers at all (as per the spec). So, this makes sense and we can consider this fixed as far as Firefox is concerned.

@Adriani90
Copy link
Collaborator

I am closing this issue as abandoned, given the missing updates from the initial author for so long time, and given that support for Internet Explorer has actually ended in 2022. The IE mode in Edge for backwards compatibility will be available until at least 2029, but I don't think that accessibility improvements will occur in that regard.

In Firefox, Edge and Chrome everything works as expected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Abandoned requested reports or updates are missing since more than 1 year, author or users are not available. app/internet-explorer ARIA
Projects
None yet
Development

No branches or pull requests

4 participants