New issue
Advanced search Search tips

Issue 657234 link

Starred by 2 users

Issue metadata

Status: Fixed
Owner:
Closed: Oct 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 2
Type: Bug



Sign in to add a comment

MD Settings: Remove usage of 'autofocus' from settings-action-menu

Project Member Reported by dpa...@chromium.org, Oct 19 2016

Issue description

'autofocus' is only respected on certain elements (form control elements), and not on any element, like paper-checkbox. Assigning 'autofocus' within showModal() is unnecessary, as well as keeping track of the currently focused index. It can be calculated on the fly, whenever the 'keydown' listener executes.
 

Comment 1 by dbeam@chromium.org, Oct 19 2016

Summary: MD Settings: Remove usage of 'autofocus' from settings-action-menu (was: MD Settnigs: Remove usage of 'autofocus' from settings-action-menu)
Labels: Hotlist-MD-Settings-PageA11y
Status: Assigned (was: Untriaged)

Comment 3 by dpa...@chromium.org, Oct 21 2016

Status: Started (was: Assigned)
Project Member

Comment 4 by bugdroid1@chromium.org, Oct 25 2016

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

commit 9811dce8931bffbbdc9ae70e8e362491c3de4157
Author: dpapad <dpapad@chromium.org>
Date: Tue Oct 25 02:39:10 2016

MD Settings: Remove usage of 'autofocus' from settings-action-menu.

BUG= 657234 
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation

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

[modify] https://crrev.com/9811dce8931bffbbdc9ae70e8e362491c3de4157/chrome/browser/resources/settings/settings_action_menu.js
[modify] https://crrev.com/9811dce8931bffbbdc9ae70e8e362491c3de4157/chrome/test/data/webui/settings/settings_action_menu_test.js

Comment 5 by dpa...@chromium.org, Oct 25 2016

Status: Fixed (was: Started)

Sign in to add a comment