Open jscholes opened 4 years ago
Tested in Chrome and JAWS 2020: The problem always occurs when contendeditable is used, even without landmark elements or ARIA roles, i.e. with <div contenteditable=true>
@JAWS-test That's definitely not what I'm seeing. Do you have a test case, and what settings are you using for forms mode activation?
Agreed with @jscholes , not what I'm seeing over here either @JAWS-test
Do you have a test case, and what settings are you using for forms mode activation?
I used your test page and removed role=main.
I have tested with automatic and semi-automatic forms mode. In both cases the problems occurred in forms mode.
This may be due to the JAWS version. I have 2020.2006.
@JAWS-test All tests on my end were carried out with forms mode activation set to manual; could you give that a go?
I used your test page and removed role=main.
Did you download the file and load the page with role="main"
removed, or remove it in the browser dev tools?
Did you download the file and load the page with role="main" removed, or remove it in the browser dev tools?
Both.
I have now tested it on another computer with Chrome and the same version of JAWS and have the same test results as you. I have not been able to find out why the first computer I used had different test results. Sorry for the confusion I caused...
Possibly the problem is related to https://github.com/FreedomScientific/VFO-standards-support/issues/241, at least there is the similarity that it
Bug confirmed using JAWS 2020.2008.24, Chrome 85.0.4183.121 and FF 81.0. In IE11, content inside the contenteditable <div>
is read correctly, but it's not possible to exit the field and read surrounding content.
Summary
When certain roles are applied to a node with
contenteditable="true"
, JAWS no longer allows the content to be reviewed and edited in forms mode. As an example of reproducing this problem:<div>
withrole="main"
andcontenteditable="true"
.Expected result
JAWS will allow users to navigate by character, word, line, etc., speaking the text and semantics as they do so.
Actual result
JAWS stays completely silent when the Arrow keys are pressed, not even announcing "blank" or similar.
Example
https://jscholes.github.io/contenteditable-with-role.html
Additional Information
JAWS version and build number
2020.2008.24 ILM
Operating System and version
Windows 10 Professional version 1909, build 18363.836
Browser and version:
Notes
The linked example uses a role of "main", but the behaviour was also observed when using the following roles (may not be an exhaustive list):
The behaviour occurs irrespective of whether the role is explicitly applied (as in the example) or implied through the use of
<main>
,<header>
and other semantic HTML elements.CC @sinabahram