New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 792691 link

Starred by 1 user

Issue metadata

Status: Verified
Owner:
Last visit 20 days ago
Closed: Feb 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 1
Type: Bug
Team-Accessibility



Sign in to add a comment

A11Y: NVDA sometimes reads the tooltip on the back and forward buttons.

Project Member Reported by dsexton@chromium.org, Dec 6 2017

Issue description

65.0.3286.0 (Official Build) canary (64-bit) (cohort: Clang-64)
NVDA 2017.4

I am unable to consistently reproduce this issue. 

Steps to repro:
# Open Chrome
# Visit google.com
# Then visit gmail.com
# With NVDA running, Press f6
# Tab to the 'back' button
# NVDA says 'Back button submenu. Press to go back or hold to see history' OR "Press to go back. use context menu to see history'

Expected NVDA should always announce 'Use context menu to see history'

Actual:
About 25% of the time, NVDA announces the tooltip found here:
chromium] src/chrome/app/generated_resources.grd
  5188: <message name="IDS_TOOLTIP_BACK" desc="The tooltip for back button">  5189:   Click to go back, hold to see history  5190: </message>  5194: <message name="IDS_TOOLTIP_FORWARD" desc="The tooltip for forward button">  5195:   Click to go forward, hold to see history  5196: </message>

75% of the time NVDA correctly announces the keyboard user tooltip for these buttons:
chromium] src/chrome/app/generated_resources.grd
  5191: <message name="IDS_ACCNAME_TOOLTIP_BACK" desc="The tooltip for back button suited for non-mouse users">  5192:   Press to go back, use context menu to see history  5193: </message>

Expected: The keyboard only tooltip should be read

Actual: Mouse tooltip is read occasionally

 

Comment 1 by nek...@chromium.org, Dec 15 2017

Labels: toolbar
Labels: -Pri-2 Pri-1
Related to  bug 792704 

Comment 3 by nek...@chromium.org, Feb 14 2018

Status: Started (was: Available)
Patch uploaded.
Project Member

Comment 4 by bugdroid1@chromium.org, Feb 22 2018

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

commit e7e44dffeb2b6045cb9fe987d2a3334bf489cf39
Author: Nektarios Paisios <nektar@chromium.org>
Date: Thu Feb 22 14:13:07 2018

Only adds an ax description if it is different from the name and always exposes an ax description for Back and Forward buttons

1. In Views, tooltips were used for the accessible description attribute if the view didn't provide a description itself. However, we didn't check if the tooltip was the same as the accessible name with the effect that NVDA would sound as if it was repeating itself when the tooltip matched the accessible name.
2. For the Back and Forward buttons, an accessible description was never set. Instead, the tooltips of both buttons were modified if the browser was in accessibility mode. This is erronious because an AT might be loaded after the toolbar buttons have been initialized and because it would be strange for the tooltips to be different if an AT is running.

R=dmazzoni@chromium.org

Bug:  792704 ,  792691 
Change-Id: I2ca1fde9cfa3787ef8cb8a3a9069f74abf16dfb5
Tested: Using NVDA and manually navigating around the toolbar
Reviewed-on: https://chromium-review.googlesource.com/918081
Commit-Queue: Nektarios Paisios <nektar@chromium.org>
Reviewed-by: Nico Weber <thakis@chromium.org>
Reviewed-by: Dominic Mazzoni <dmazzoni@chromium.org>
Reviewed-by: Nektarios Paisios <nektar@chromium.org>
Reviewed-by: Peter Kasting <pkasting@chromium.org>
Cr-Commit-Position: refs/heads/master@{#538426}
[modify] https://crrev.com/e7e44dffeb2b6045cb9fe987d2a3334bf489cf39/chrome/app/generated_resources.grd
[modify] https://crrev.com/e7e44dffeb2b6045cb9fe987d2a3334bf489cf39/chrome/browser/ui/cocoa/toolbar/toolbar_controller.mm
[modify] https://crrev.com/e7e44dffeb2b6045cb9fe987d2a3334bf489cf39/chrome/browser/ui/views/toolbar/toolbar_view.cc
[modify] https://crrev.com/e7e44dffeb2b6045cb9fe987d2a3334bf489cf39/tools/gritsettings/startup_resources_mac.txt
[modify] https://crrev.com/e7e44dffeb2b6045cb9fe987d2a3334bf489cf39/ui/accessibility/ax_node_data.cc
[modify] https://crrev.com/e7e44dffeb2b6045cb9fe987d2a3334bf489cf39/ui/accessibility/ax_node_data.h
[modify] https://crrev.com/e7e44dffeb2b6045cb9fe987d2a3334bf489cf39/ui/views/accessibility/view_accessibility.cc
[modify] https://crrev.com/e7e44dffeb2b6045cb9fe987d2a3334bf489cf39/ui/views/widget/native_widget_mac_accessibility_unittest.mm

Comment 5 by nek...@chromium.org, Feb 22 2018

Cc: nek...@chromium.org
Owner: dsexton@chromium.org
Status: Fixed (was: Started)
@dsexton, I believe my fix works, but I am not totally sure. Could you verify?
Status: Verified (was: Fixed)

Sign in to add a comment