Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(155)

Issue 464703002: Fixed a11y tab-handling for language settings (Closed)

Created:
6 years, 4 months ago by hcarmona
Modified:
6 years, 4 months ago
CC:
chromium-reviews, dbeam+watch-options_chromium.org, nona+watch_chromium.org, yukishiino+watch_chromium.org, arv+watch_chromium.org, yusukes+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Fixed a11y tab-handling for language settings The fix is to remove the tab index from the X button in the list so that when a user presses <TAB>, the next control has focus instead of the next item in the list. Tests that were added: - Verify that appropriate languages are assigned to page. This is to make sure that the list of languages remains deterministic. This also has the effect of failing the test if we do not navigate to the language options. - Verify that when the correct element has focus after the <TAB> key is pressed when the list had focus. This will verify that the bug is fixed correctly. BUG=399352 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=290651

Patch Set 1 #

Total comments: 20

Patch Set 2 : Make changes based on feedback #

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : Upload for trybot #

Patch Set 6 : Change to fix trybox failure #

Total comments: 8

Patch Set 7 : Make changes based on feedback #

Total comments: 9

Patch Set 8 : Changes based on feedback from groby@ #

Total comments: 10

Patch Set 9 : Changes based on feedback from dbeam@ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+137 lines, -0 lines) Patch
M chrome/browser/resources/options/deletable_item_list.js View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
A chrome/browser/ui/webui/options/language_options_interactive_uitest.cc View 1 2 3 4 5 6 7 8 1 chunk +135 lines, -0 lines 0 comments Download
M chrome/chrome_tests.gypi View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 19 (0 generated)
groby-ooo-7-16
A few drive-by comments, and thank you for adding a test case! https://codereview.chromium.org/464703002/diff/1/chrome/browser/ui/webui/options/language_options_interactive_uitest.cc File chrome/browser/ui/webui/options/language_options_interactive_uitest.cc ...
6 years, 4 months ago (2014-08-12 23:57:28 UTC) #1
hcarmona
I made fixes to the code based on your feedback. Test is simpler, which is ...
6 years, 4 months ago (2014-08-13 20:24:40 UTC) #2
hcarmona
6 years, 4 months ago (2014-08-13 21:39:32 UTC) #3
stevenjb
Please make the title of this issue more descriptive than 'a UI test'. Be sure ...
6 years, 4 months ago (2014-08-18 16:05:06 UTC) #4
hcarmona
Updated description of issue, and applied changes from feedback. https://codereview.chromium.org/464703002/diff/100001/chrome/browser/ui/webui/options/language_options_interactive_uitest.cc File chrome/browser/ui/webui/options/language_options_interactive_uitest.cc (right): https://codereview.chromium.org/464703002/diff/100001/chrome/browser/ui/webui/options/language_options_interactive_uitest.cc#newcode55 chrome/browser/ui/webui/options/language_options_interactive_uitest.cc:55: ...
6 years, 4 months ago (2014-08-18 20:59:27 UTC) #5
groby-ooo-7-16
Sorry, a few more drive-by comments https://codereview.chromium.org/464703002/diff/120001/chrome/browser/ui/webui/options/language_options_interactive_uitest.cc File chrome/browser/ui/webui/options/language_options_interactive_uitest.cc (right): https://codereview.chromium.org/464703002/diff/120001/chrome/browser/ui/webui/options/language_options_interactive_uitest.cc#newcode25 chrome/browser/ui/webui/options/language_options_interactive_uitest.cc:25: // We need ...
6 years, 4 months ago (2014-08-18 21:42:05 UTC) #6
stevenjb
lgtm
6 years, 4 months ago (2014-08-18 22:46:44 UTC) #7
stevenjb
Note: First line of the description should match the subject.
6 years, 4 months ago (2014-08-18 22:47:21 UTC) #8
hcarmona
I replaced the java script loop with a call to querySelectorAll and updated the comments ...
6 years, 4 months ago (2014-08-18 23:39:51 UTC) #9
groby-ooo-7-16
lgtm
6 years, 4 months ago (2014-08-18 23:50:39 UTC) #10
hcarmona
The CQ bit was checked by hcarmona@chromium.org
6 years, 4 months ago (2014-08-18 23:59:40 UTC) #11
hcarmona
The CQ bit was unchecked by hcarmona@chromium.org
6 years, 4 months ago (2014-08-18 23:59:41 UTC) #12
Dan Beam
lgtm https://codereview.chromium.org/464703002/diff/140001/chrome/browser/ui/webui/options/language_options_interactive_uitest.cc File chrome/browser/ui/webui/options/language_options_interactive_uitest.cc (right): https://codereview.chromium.org/464703002/diff/140001/chrome/browser/ui/webui/options/language_options_interactive_uitest.cc#newcode88 chrome/browser/ui/webui/options/language_options_interactive_uitest.cc:88: content::RenderFrameHost* active_frame = GetActiveFrame(); ASSERT_TRUE(active_frame); https://codereview.chromium.org/464703002/diff/140001/chrome/browser/ui/webui/options/language_options_interactive_uitest.cc#newcode96 chrome/browser/ui/webui/options/language_options_interactive_uitest.cc:96: EXPECT_TRUE(content::ExecuteScriptAndExtractInt( ...
6 years, 4 months ago (2014-08-19 00:06:38 UTC) #13
groby-ooo-7-16
Hang on, I've got a bit more - the title is still super-generic. Please describe ...
6 years, 4 months ago (2014-08-19 00:13:20 UTC) #14
hcarmona
Changed a EXPECT_TRUE to ASSERT_TRUE in locations where it doesn't make sense to continue the ...
6 years, 4 months ago (2014-08-19 00:36:52 UTC) #15
hcarmona
The CQ bit was checked by hcarmona@chromium.org
6 years, 4 months ago (2014-08-19 18:45:46 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/hcarmona@chromium.org/464703002/160001
6 years, 4 months ago (2014-08-19 18:46:39 UTC) #17
commit-bot: I haz the power
Committed patchset #9 (160001) as 290651
6 years, 4 months ago (2014-08-19 20:16:43 UTC) #18
jam
6 years, 4 months ago (2014-08-20 22:03:58 UTC) #19
Message was sent while issue was closed.
On 2014/08/19 20:16:43, I haz the power (commit-bot) wrote:
> Committed patchset #9 (160001) as 290651

this test is flaking. see
https://code.google.com/p/chromium/issues/detail?id=405711

Powered by Google App Engine
This is Rietveld 408576698