[Accessibility] Focus state refinements
Categories
(Firefox :: New Tab Page, defect, P1)
Tracking
()
Tracking | Status | |
---|---|---|
firefox68 | --- | verified |
People
(Reporter: wolasi, Assigned: gsuntop)
References
Details
(Keywords: github-merged)
Attachments
(6 files, 2 obsolete files)
Let's fix the following
- Clipping of the focus state blue outline around images, see cards and Top Sites tiles
- Focus state and hover state should be applied to the same element to prevent awkward transition when clicking on an item.
Spec
https://www.figma.com/file/0xZkmT86rSXbGRB4eIvrn0ts/New-Tab-Spec-for-Fx-v68?node-id=383%3A1
Assignee | ||
Updated•6 years ago
|
Updated•6 years ago
|
Updated•6 years ago
|
Assignee | ||
Comment 1•6 years ago
|
||
Reporter | ||
Comment 2•6 years ago
|
||
This isn't looking as expected, so let's just nix the inner dark blue outline. See updated spec for reference https://www.figma.com/file/0xZkmT86rSXbGRB4eIvrn0ts/New-Tab-Spec-for-Fx-v68?node-id=383%3A1
Comment 3•6 years ago
|
||
Assignee | ||
Comment 4•6 years ago
|
||
Comment 5•6 years ago
•
|
||
Is there an expected behavior for focus and hover at the same time? (Or maybe it just doesn't really matter.)
Reporter | ||
Comment 6•6 years ago
|
||
:gvn update outline looks good
:Mardak The issue is that the focus and hover effects are being applied to different elements hence the middle scenario in your mock up. :gvn this is the final issue for this bug.
Comment 7•6 years ago
|
||
Do you also want a screenshot of the focus for dark theme?
Assignee | ||
Comment 8•6 years ago
|
||
Dark theme uses the same styling, but I can put up a screenshot if wanted.
I'll move this into code review now...
Reporter | ||
Comment 9•6 years ago
|
||
Dark theme shouldn't use the same color, check the spec. It should be rgba(69, 161, 255, 0.4)
Also what about the overlapping of the active and hover states, that still hasn't been addressed.
Assignee | ||
Comment 11•6 years ago
•
|
||
So...what do you want for the overlapping of the active and hover states? Just the hover style...or something different?
Reporter | ||
Comment 13•6 years ago
|
||
If the hover and focus effect are applied to the same element there won't be an overlap
Assignee | ||
Comment 14•6 years ago
|
||
I understand. Do you want the hover state to override the focus state when you hover on a focused item?
Assignee | ||
Updated•6 years ago
|
Comment 15•6 years ago
|
||
Something I noticed testing on latest nightly is the standard link focusing behavior after you click it. E.g., cmd-click to open a link in a new tab and switching back to about:newtab shows the focus ring or alternatively if you click and drag a link (and drop anywhere in the page to not actually navigate). This is just changing the styling of focus, so I'm guessing the persisted blue ring after a mouse interaction is expected ?
Reporter | ||
Comment 16•6 years ago
|
||
Do you have screenshots for these scenarios?
Assignee | ||
Comment 17•6 years ago
•
|
||
Yeah, Ed put some up above: https://bugzilla.mozilla.org/show_bug.cgi?id=1548917#c5
I can change to whatever behavior/appearance is desired for hovered, focused, and hovered over focused. Just need to know what that is specifically. Thanks!
Assignee | ||
Comment 18•6 years ago
|
||
(note: now hover on focus looks just like regular hover)
Assignee | ||
Comment 19•6 years ago
|
||
(note: now hover on focus looks just like regular hover)
Reporter | ||
Comment 20•6 years ago
|
||
Hover on focus looks good to me.
Reporter | ||
Updated•6 years ago
|
Assignee | ||
Comment 21•6 years ago
|
||
Ok cool will move back into code review!
Updated•6 years ago
|
Reporter | ||
Comment 22•6 years ago
|
||
Comment 23•6 years ago
|
||
Reporter | ||
Comment 24•6 years ago
•
|
||
Focus state color for Top Site tile is not to spec for Dark Theme. Should be rgba(69, 161, 255, 0.4)
like for the cards.
Updated•6 years ago
|
Comment 25•6 years ago
|
||
@gvn, did we end up removing the inner dark blue outline? I'm still seeing it on all platforms when focusing cards. I don't see it when I focus Top Sites.
Assignee | ||
Comment 26•6 years ago
•
|
||
@wolasi, we'll need to open a new BZ ticket for further tweaks since code was landed for this ticket already. Thx!
Assignee | ||
Comment 28•6 years ago
|
||
@Ciprian – Should match current design spec: https://www.figma.com/file/0xZkmT86rSXbGRB4eIvrn0ts/New-Tab-Spec-for-Fx-v68?node-id=383%3A1
Reporter | ||
Comment 29•5 years ago
|
||
Here's the new ticket https://bugzilla.mozilla.org/show_bug.cgi?id=1552932
Comment 30•5 years ago
|
||
I have verified that the focus state's appearance is like the ones in the design dock on Nightly 68.0a1 (Build ID 20190519213707) and the latest Nightly 69.0a1 (Build ID 20190522152821) on Windows 10, macOS 10.14, and Arch Linux 4.14.3.
Updated•5 years ago
|
Description
•