New issue
Advanced search Search tips

Issue 912283 link

Starred by 1 user

Issue metadata

Status: Available
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 3
Type: Bug
Team-Accessibility



Sign in to add a comment

ChromeVox is handling policy indicators badly

Project Member Reported by phweiss@chromium.org, Dec 5

Issue description

Chrome Version: 73.0.3627.0
Chrome OS Version: 11313.0.0 dev-channel eve test
Chrome OS Platform: eve
Network info: GoogleGuestPSK

Steps To Reproduce:
(1) Login with a managed account, that has some policy set (e.g. google.com accounts have mandatory Safe Browsing.)
(2) Navigate to chrome://settings, find the deactivated setting (i.e. Advanced > Privacy and Security > Safe Browsing). Make sure the enterprise icon is showing, next to a disabled toggle or button.
(3) Turn on ChromeVox (Ctrl + Alt + Z). Navigate the selection onto the enterprise icon (Search + Right/Left).

Expected Result:
Read out something like "Safe Browsing. This setting is enforced by your administrator."

Actual Result:
When navigating from the _left_, it reads the label twice, i.e.
"Safe Browsing. Safe Browsing. This setting is enforced by your administrator." When navigating from the _right_, there is one more selection step before the icon, which just reads "tooltip" (which happens to be the id of the UI element that contains the admin text). The selection rectangle is in a weird spot where it would expect the tooltip to pop up when you hover with there mouse over the icon, but its way off even for that. Navigating one more step left activates the icon, but it is reading only "Safe Browsing". Once. Without mentioning the administrator.


How frequently does this problem reproduce? (Always, sometimes, hard to
reproduce?)
For safe browsing, always. When the icon appears in other places, sometimes it only reads "tooltip" (E.g. under Connected devices > Android phone), sometimes it skips reading the icon entirely (New Tab page).

What is the impact to the user, and is there a workaround? If so, what is
it?
It is confusing to readers relying on ChromeVox, they either get redundant information, or no information at all, and it behaves differently depending on from which side they navigate there.

----------------------------

My investigation so far:
The responsible UI elements are cr-policy-indicator and cr-policy-pref-indicator [1],[2] which contain a tooltip_icon [3], which has an iron-icon with both a aria-describedby and a aria-label attribute. The describedby attribute refers to the admin text, the aria-label is a string describing the context (e.g. "Safe Browsing"), in some cases it is omitted.

If I delete the aria-label, the whole element is being skipped.

If I set aria-label=" " (i.e. a space), only the describedby text is being read, which is desirable in some places where the context is obvious (e.g. right next to a button). However, I did not go through all 23 usages to check if the setting that is being referred to is always obvious.

In any case, navigating from the right provides no useful information to the listener, that part looks like a ChromeVox bug to me.

[1]
https://cs.chromium.org/chromium/src/ui/webui/resources/cr_elements/policy/cr_policy_pref_indicator.html
[2]
https://cs.chromium.org/chromium/src/ui/webui/resources/cr_elements/policy/cr_policy_indicator.html
[3] https://cs.chromium.org/chromium/src/ui/webui/resources/cr_elements/policy/cr_tooltip_icon.html
 
Status: Available (was: Untriaged)

Sign in to add a comment