No longer creating accessibles for blank lines in Gmail
Categories
(Core :: Disability Access APIs, defect, P1)
Tracking
()
Tracking | Status | |
---|---|---|
firefox-esr60 | --- | unaffected |
firefox65 | --- | unaffected |
firefox66 | --- | unaffected |
firefox67 | --- | fixed |
People
(Reporter: MarcoZ, Assigned: MarcoZ)
References
Details
(Keywords: regression)
Attachments
(1 file)
Regression from bug 646216. STR, with NVDA:
- Log into Gmail.
- Compose a new message.
- Type something in line 1.
- Press Enter twice.
- Type some more text.
- Navigate up.
Expected: NVDA should indicate the blank line.
Actual: NVDA reads text from the first line.
The reason is that the accessible no longer gets created for the blank div.
Reduced test case:
data:text/html,<div contentEditable="true"><div>Testing a blank line.</div><div></div><div>And another</div></div>
Assignee | ||
Comment 1•6 years ago
|
||
After the fix for bug 646216, we no longer create divs with no text if the previous and next siblings are divs that contain text. This breaks blank lines in contentEditables such as Gmail.
To fix, always create accessibles for divs if such a div is part of a contentEditable subtree.
Updated•6 years ago
|
Assignee | ||
Comment 2•6 years ago
|
||
After discussion, it turns out the fix needs to be broader and we must render divs if they contain a br element. Updated patch addresses that, and became much simpler in the process.
Comment 4•6 years ago
|
||
bugherder |
Updated•6 years ago
|
Description
•