Keyboard Navigation focus border is not properly displayed inside Datepickers
Categories
(Core :: Layout: Form Controls, defect)
Tracking
()
People
(Reporter: epopescu, Assigned: ayeddi)
References
(Blocks 2 open bugs)
Details
(Keywords: access)
Attachments
(9 files)
Found in
- Nightly 109.0a1
Affected versions
- Firefox Nightly 109.0a1
Tested platforms
- Affected platforms: Windows 10, Ubuntu 22.04
- Unaffected platforms: macOS 11
Preconditions
- Firefox Nightly installed
Steps to reproduce
- Open data:text/html, <input type='date'> or data:text/html,<input type='datetime-local'> in browser
- Click on the calendar button inside the date field
- Tab to reach the Show next month and Show previous month buttons
- Observe the two buttons
Expected result
- Reaching any buttons from the Datepicker using keyboard navigation should show a blue highlight border on the focused item
Actual result
- On Windows 10: Default and Light Themes do no show a blue highlight border. (Dark theme and Bold Colorways do.)
Windows High Contrast themes do show a border, but it's the same broken highlight.
On Ubuntu: Dark OS Theme , Dark themes from Firefox or Bold Colorways theme will not show a blue highlight border. (Light themes do show a blue highlight.)
This issue does not occur on MacOS.
Regression range
- Not a regression because these improvements were recently implemented through Bug 1676068.
Additional notes
- When using Dark Theme on Windows, the border of the focused item is cut off.
| Reporter | ||
Comment 1•3 years ago
|
||
| Reporter | ||
Comment 2•3 years ago
|
||
| Reporter | ||
Comment 3•3 years ago
|
||
| Reporter | ||
Comment 4•3 years ago
|
||
| Reporter | ||
Updated•3 years ago
|
| Reporter | ||
Updated•3 years ago
|
| Assignee | ||
Comment 5•3 years ago
|
||
| Assignee | ||
Comment 6•3 years ago
|
||
From Itiel in the Phab comment:
Despite the z-index added in D139980, focusing a day nubmer close to the outer area of the popup (including the day names) is cut off:
(see the screenshot attached above)
and for the arrows:
(attached)
Comment 7•3 years ago
|
||
Please note that on Mac OS with High contrast enabled it wont show the keyboard focus border around the Calendar button it will just highlight it with blue.
| Assignee | ||
Comment 8•3 years ago
|
||
(In reply to Rares Doghi from comment #7)
Created attachment 9307282 [details]
Screenshot 2022-12-08 at 12.55.15.pngPlease note that on Mac OS with High contrast enabled it wont show the keyboard focus border around the Calendar button it will just highlight it with blue.
That is sufficient indication of focused state that is expected for buttons on High Contrast Mode (HCM).
Comment 9•3 years ago
|
||
Setting to access-s2 because the insufficient focus indication makes it impossible for keyboard users to use.
Comment 10•3 years ago
|
||
The severity field for this bug is set to S3. However, the accessibility severity is higher, [access-s2].
:dao, could you consider increasing the severity?
For more information, please visit auto_nag documentation.
Updated•3 years ago
|
Updated•3 years ago
|
| Assignee | ||
Comment 11•3 years ago
|
||
Avoid one or two sides of the focus indicator being cut off on the edges of the panel.
Updated•3 years ago
|
Comment 12•3 years ago
|
||
Comment 13•3 years ago
|
||
| bugherder | ||
Updated•3 years ago
|
| Reporter | ||
Comment 14•3 years ago
•
|
||
I've checked on Windows 10 using the latest version Nightly 112.0a1 the focused state on the Show next month and Show previous month buttons of the datepicker when using keyboard.
It seems there is a double border when focusing these buttons and having the Dark Theme enabled in Firefox.
Anna, could you please share your opinion on this?
Please see the screenshots attached:
High Contrast_Win 10
Dark theme_Win10
Dark theme_Win10(2)
Dark theme_Win10(3)
| Assignee | ||
Comment 15•3 years ago
|
||
Hi Ina, thank you for checking the focus out!
I'd defer to Morgan if this is the behavior we want to change and, if so, how we'd like it to look like. I'll be happy to work on the fix when I'm back then.
| Reporter | ||
Comment 17•2 years ago
|
||
Thanks for confirming.
Marking this as Verified Fixed.
Updated•2 years ago
|
Updated•2 years ago
|
Description
•