New issue
Advanced search Search tips

Issue 710892 link

Starred by 2 users

Issue metadata

Status: Untriaged
Owner: ----
Components:
EstimatedDays: ----
NextAction: 2017-04-12
OS: ----
Pri: 3
Type: Bug
Team-Accessibility



Sign in to add a comment

<table> node translates into unknown role

Project Member Reported by dtseng@chromium.org, Apr 12 2017

Issue description

<table class="GS" tabindex="-1"><tbody><tr><td class="ok"><div class="o1"><span id=":78" class="gO aQY" data-tooltip="Select Contacts" aria-label="To - Select Contacts" role="link" tabindex="1">To</span></div></td><td class="eV"><div id=":77" class="oj"><div class="wO nr"><input class="wA" tabindex="-1" aria-hidden="true"><div class="vR"><span class="vN bfK a3q" email="theophilusx@gmail.com"><div class="vT">Tim Cross (gmail.com)</div><div class="vM"></div></span><input name="to" type="hidden" value="Tim Cross <theophilusx@gmail.com>"></div><textarea rows="1" id=":7j" class="vO" name="to" spellcheck="false" autocomplete="false" autocapitalize="off" autocorrect="off" tabindex="1" dir="ltr" aria-label="To" role="combobox" aria-autocomplete="list"></textarea><div class="aA6"></div></div></div></td></tr><tr id=":4q"><td class="ok"><span id=":4p" class="gO aQY" data-tooltip="Select Contacts" aria-label="Cc - Select Contacts" role="link" tabindex="1">Cc</span></td><td class="eV"><div id=":4o" class="oj"><div class="wO nr"><input class="wA" tabindex="-1" aria-hidden="true"><div class="vR"><span class="vN bfK a3p" email="doggene@earthlink.net"><div class="vT">Liz Hare (doggene@earthlink.net)</div><div class="vM"></div></span><input name="cc" type="hidden" value="Liz Hare <doggene@earthlink.net>"></div><div class="vR"><span class="vN bfK a3p" email="emacspeak@cs.vassar.edu"><div class="vT">emacspeak (emacspeak@cs.vassar.edu)</div><div class="vM"></div></span><input name="cc" type="hidden" value="emacspeak <emacspeak@cs.vassar.edu>"></div><textarea rows="1" id=":7k" class="vO" name="cc" spellcheck="false" autocomplete="false" autocapitalize="off" autocorrect="off" tabindex="1" dir="ltr" aria-label="Cc" role="combobox" aria-autocomplete="list" style="width: 0px;"></textarea><div class="aA6"></div></div></div></td></tr><tr id=":4k" style="display:none"><td class="ok"><span id=":4j" class="gO aQY" data-tooltip="Select Contacts" aria-label="Bcc - Select Contacts" role="link" tabindex="1">Bcc</span></td><td class="eV"><div id=":4i" class="oj"><div class="wO nr"><input class="wA" tabindex="-1" aria-hidden="true"><textarea rows="1" id=":7l" class="vO" name="bcc" spellcheck="false" autocomplete="false" autocapitalize="off" autocorrect="off" tabindex="1" dir="ltr" aria-label="Bcc"></textarea><div class="aA6"></div></div></div></td></tr><tr id=":5g"><td class="ok az4"><label for=":4r" class="gO">From</label></td><td id=":4t" class="az3"><div id=":4r" class="J-JN-M-I J-J5-Ji az2 az4 L3" role="button" tabindex="1" aria-haspopup="true" aria-expanded="false" style="user-select: none;"><div class="J-J5-Ji J-JN-M-I-Jm"><span dir="ltr" id=":4x">user@gmail.com</span></div><div class="J-J5-Ji J-JN-M-I-JG"></div></div><div id=":5f" class="ow"><span><div tabindex="1" style="width: 1px; height: 1px; position: absolute;"></div><div tabindex="1" style="width: 1px; height: 1px; position: absolute;"></div><span><span id=":4c" class="aB gQ pE" role="link" tabindex="1" data-tooltip="Add Cc Recipients ‪(Ctrl-Shift-C)‬" aria-label="Add Cc Recipients ‪(Ctrl-Shift-C)‬" style="user-select: none; display: none;">Cc</span><span id=":4b" class="aB  gQ pB" role="link" tabindex="1" data-tooltip="Add Bcc Recipients ‪(Ctrl-Shift-B)‬" aria-label="Add Bcc Recipients ‪(Ctrl-Shift-B)‬" style="user-select: none;">Bcc</span><span id=":6j" role="button" tabindex="1" aria-hidden="false" class="bcV" style="visibility: visible; display: none;" data-tooltip="Some recipients use services that don't support encryption (click for details)" aria-label="Some recipients use services that don't support encryption (click for details)"></span></span><div tabindex="1" style="width: 1px; height: 1px; position: absolute;"></div></span></div></td></tr><tr id=":4l" style="display:none"><td></td><td><div id=":80" class="az7" style="user-select: none;"></div><div id=":75" class="ow"></div></td></tr></tbody></table>


- load above snippet
- view AXObject associated with the top level node (<table>)

result:
unknown role

expected:
table

 
Project Member

Comment 1 by bugdroid1@chromium.org, Apr 12 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/72bb94a66c02d96c6a4b258ce7e8c5ebb0272273

commit 72bb94a66c02d96c6a4b258ce7e8c5ebb0272273
Author: dtseng <dtseng@chromium.org>
Date: Wed Apr 12 22:10:01 2017

Ignore unknown focusable nodes if they have children

BUG=710892, 707927 
TEST=navigate by object in Gmail's compose view. Verify that object navigation doesn't skip the "unknown" node which contains the contents of the form (e.g. to, from, etc). Also, verify that ChromeVox never lands on the unknown node directly and does not mention it in ancestry summarization.

Review-Url: https://codereview.chromium.org/2817713002
Cr-Commit-Position: refs/heads/master@{#464168}

[modify] https://crrev.com/72bb94a66c02d96c6a4b258ce7e8c5ebb0272273/chrome/browser/resources/chromeos/chromevox/cvox2/background/automation_predicate.js

Comment 2 by dtseng@chromium.org, Apr 13 2017

Comment from cl:
I think the issue is that it's a layout table, but
the tabindex means we can't ignore it.

Could you fix it in Blink so that we return a role
of DIV or GROUP or something like that rather than
UNKNOWN?

I couldn't find any specs surrounding the treatment of layout tables; is this just a weak heuristic? It seems like the table, at least in the Gmail case, is actually valuable. For exmaple, the first cell contains the "to" label, select contact button, and the to text area.

 At least, we should let the screen reader decide if it is worth conveying as a table.
Project Member

Comment 3 by sheriffbot@chromium.org, Apr 16 2018

Labels: Hotlist-Recharge-Cold
Status: Untriaged (was: Available)
This issue has been Available for over a year. If it's no longer important or seems unlikely to be fixed, please consider closing it out. If it is important, please re-triage the issue.

Sorry for the inconvenience if the bug really should have been left as Available.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot

Sign in to add a comment