8 years, 2 months ago
(2012-10-03 06:26:23 UTC)
#1
dmazzoni
Just one question about your solution to the focus ring issue: What if someone wants ...
8 years, 2 months ago
(2012-10-03 06:53:32 UTC)
#2
Just one question about your solution to the focus ring issue: What if someone
wants to click to open the menu, but then use arrow keys to select an item. Does
that work? Does the focus ring show as soon as they press a key?
aboxhall
On 2012/10/03 06:53:32, Dominic Mazzoni wrote: > Just one question about your solution to the ...
8 years, 2 months ago
(2012-10-03 06:56:31 UTC)
#3
On 2012/10/03 06:53:32, Dominic Mazzoni wrote:
> Just one question about your solution to the focus ring issue: What if someone
> wants to click to open the menu, but then use arrow keys to select an item.
Does
> that work? Does the focus ring show as soon as they press a key?
That works; as soon as they press a key the focus is placed on the 'next' item,
as per the selectNextAvailable() method. For example, click + down arrow will
place focus on the first item in the list (i.e. index 0).
dmazzoni
Thanks! lgtm for accessibility.
8 years, 2 months ago
(2012-10-03 06:59:20 UTC)
#4
Thanks!
lgtm for accessibility.
Dan Beam
is there an easy way to view the difference between your previous CL and this? ...
8 years, 2 months ago
(2012-10-03 08:40:45 UTC)
#5
I just looked at both CLs file by file to see the diff - as ...
8 years, 2 months ago
(2012-10-04 01:56:41 UTC)
#7
I just looked at both CLs file by file to see the diff - as long as it works and
doesn't regress anything else this seems fine. I'll try it out later and then
LG if it seems OK.
aboxhall
On 2012/10/04 01:56:41, Dan Beam wrote: > I just looked at both CLs file by ...
8 years, 2 months ago
(2012-10-04 23:20:33 UTC)
#8
On 2012/10/04 01:56:41, Dan Beam wrote:
> I just looked at both CLs file by file to see the diff - as long as it works
and
> doesn't regress anything else this seems fine. I'll try it out later and then
> LG if it seems OK.
Did you get a chance to try this out?
aboxhall
Ping? I just checked and this still works fine. Is someone on the WebUI side ...
https://codereview.chromium.org/11013021/diff/15002/chrome/browser/resources/shared/js/cr/ui/menu_button.js File chrome/browser/resources/shared/js/cr/ui/menu_button.js (right): https://codereview.chromium.org/11013021/diff/15002/chrome/browser/resources/shared/js/cr/ui/menu_button.js#newcode103 chrome/browser/resources/shared/js/cr/ui/menu_button.js:103: case 'focus': On 2012/11/12 22:55:03, Dan Beam wrote: > ...
8 years, 1 month ago
(2012-11-13 00:49:52 UTC)
#11
https://codereview.chromium.org/11013021/diff/15002/chrome/browser/resources/...
File chrome/browser/resources/shared/js/cr/ui/menu_button.js (right):
https://codereview.chromium.org/11013021/diff/15002/chrome/browser/resources/...
chrome/browser/resources/shared/js/cr/ui/menu_button.js:103: case 'focus':
On 2012/11/12 22:55:03, Dan Beam wrote:
> is there a functional difference between "focus on a different element" and
> "blur on this element"? can there be no current focus (i.e. no
> document.activeElement)?
Yep - at the time of blur, the new document.activeElement hasn't yet been set,
so this doesn't work.
https://codereview.chromium.org/11013021/diff/15002/chrome/browser/resources/...
chrome/browser/resources/shared/js/cr/ui/menu_button.js:117: * @param {boolean}
shouldSetFocus Whether to set focus on the
On 2012/11/12 22:55:03, Dan Beam wrote:
> nit: is this boolean optional to pass? i.e. is there code you want to keep
just
> as:
>
> this.showMenu();
>
> ? if so, you should make this
>
> @param {boolean=} opt_shouldSetFocus
>
> but I'd recommend just making all places pass a boolean isntead.
I agree, and I'm pretty sure I changed all call sites.
Dan Beam
lgtm
8 years, 1 month ago
(2012-11-13 03:32:59 UTC)
#12
lgtm
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/aboxhall@chromium.org/11013021/15002
8 years, 1 month ago
(2012-11-13 03:35:55 UTC)
#13
Issue 11013021: Basic keyboard access for recently_closed menu on NTP (re-work).
(Closed)
Created 8 years, 2 months ago by aboxhall
Modified 7 years, 9 months ago
Reviewers: Evan Stade, Dan Beam, dmazzoni
Base URL: http://git.chromium.org/chromium/src.git@master
Comments: 8