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

alert is not output (IE 11, JAWS) #1138

Closed
JAWS-test opened this issue Aug 22, 2019 · 5 comments
Closed

alert is not output (IE 11, JAWS) #1138

JAWS-test opened this issue Aug 22, 2019 · 5 comments
Labels
Feedback Issue raised by or for collecting input from people outside APG task force Out of APG Scope Outside scope of APG, e.g., external dependency
Milestone

Comments

@JAWS-test
Copy link

https://w3c.github.io/aria-practices/examples/alert/alert.html

IE 11 is a bit difficult with role=alert, the example does not work with JAWS version 15 to 2019. It would be better to choose an implementation that also works with IE 11.

Note: If the alert message has already been displayed and the button is pressed again, the output will also be correct with IE 11.

The example is nice international, but the language change within alert doesn't work with Chrome and Firefox either, so the output is a bit confusing...

@JAWS-test
Copy link
Author

A ticket has also been added to JAWS: FreedomScientific/standards-support#38

@JAWS-test
Copy link
Author

JAWS-test commented Aug 23, 2019

I'd also like the ARIA practice to explain exactly which updates will result in output of an alert or an other live region by screen reader. Unfortunately I didn't find any information. It would be valuable to differentiate between

  • what does the specification say
  • what works in reality in different browsers and screen readers.

Background of the question: At least in IE 11, Chrome and Firefox different changes to the DOM and CSS lead to the output of alerts (with JAWS), e.g.

  • Insert into DOM
  • Remove from DOM
  • add role=alert to an existing node
  • Change visibility (display:none, hidden, aria-hidden)
  • Change the position (e.g.: left:100px)
  • Change the color (e.g.: color:red)
  • Change the size (e.g. width:100px)
  • Change transparency (e.g. opacity:0;)

However, the output differs depending on whether these changes are made to the parent element, the element with role=alert, a direct child element, or a nested descendant element.
The output also varies depending on which Javascript method is used to insert element nodes into the DOM.
Some of the test results are relatively new (JAWS 18, JAWS 2019), others quite old (JAWS 15).

@mcking65
Copy link
Contributor

@JAWS-test commented:

I'd also like the ARIA practice to explain exactly which updates will result in output of an alert or an other live region by screen reader. Unfortunately I didn't find any information. It would be valuable to differentiate between

  • what does the specification say

I agree, the practices should cover this. I am adding this to issue#78 to be addressed in PR #1027. Once that content is written, it should be referenced from roles, states, and properties subsection of the alert pattern.

  • what works in reality in different browsers and screen readers.

This is not the domain of the APG. It will eventually be covered by the w3c/aria-at project. APG says what to do based on the spec, not how well it works. the aria-at project will address how well it works in practice.

Background of the question: At least in IE 11, Chrome and Firefox different changes to the DOM and CSS lead to the output of alerts (with JAWS), e.g.

  • Insert into DOM
  • Remove from DOM
  • add role=alert to an existing node
  • Change visibility (display:none, hidden, aria-hidden)
  • Change the position (e.g.: left:100px)
  • Change the color (e.g.: color:red)
  • Change the size (e.g. width:100px)
  • Change transparency (e.g. opacity:0;)

However, the output differs depending on whether these changes are made to the parent element, the element with role=alert, a direct child element, or a nested descendant element.
The output also varies depending on which Javascript method is used to insert element nodes into the DOM.

I'll add this list to issue #78.

@mcking65
Copy link
Contributor

@JAWS-test, since we do not change examples to accommodate assistive technology bugs, I am closing this issue as not for practices.

However, I have updated issue #78 and created issue #1139 to address the other excellent feedback you have provided -- thank you!

@mcking65 mcking65 added Feedback Issue raised by or for collecting input from people outside APG task force Out of APG Scope Outside scope of APG, e.g., external dependency labels Aug 24, 2019
@mcking65 mcking65 added this to the 1.2 Release 1 milestone Aug 24, 2019
@JAWS-test
Copy link
Author

@mcking65: Thank you very much.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feedback Issue raised by or for collecting input from people outside APG task force Out of APG Scope Outside scope of APG, e.g., external dependency
Projects
None yet
Development

No branches or pull requests

2 participants