Open Bug 1618931 Opened 5 years ago Updated 2 years ago

Firefox on MacOS shows no visible native focus indicator when applying `-moz-appearance: none;` to certain form controls

Categories

(Core :: Widget: Cocoa, defect, P3)

73 Branch
x86_64
macOS
defect

Tracking

()

Accessibility Severity s4

People

(Reporter: greg, Unassigned)

Details

(Keywords: access, Whiteboard: [mac:nonnativetheme])

Attachments

(7 files)

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.87 Safari/537.36

Steps to reproduce:

Used -moz-appearance: none; to apply custom styling to a native checkbox & radio buttons; see https://codepen.io/malcalevak/pen/eYNWBKd for sample on MacOS (Windows 10 was fine, as were all other browsers tested)

Actual results:

Checkbox and Radio buttons receive focus, but don't indicate it.

Expected results:

Checkbox and Radio buttons should have displayed the native focus indicator.

Component: Untriaged → Widget: Cocoa
OS: Unspecified → macOS
Product: Firefox → Core
Hardware: Unspecified → x86_64

This is the custom styled native checkbox, unchecked, but currently focused, on MacOS, in Firefox 73.0.1.

Attachment #9129825 - Flags: ui-review+
Attachment #9129825 - Flags: a11y-review+
Flags: a11y-review+
Status: UNCONFIRMED → NEW
Ever confirmed: true
Keywords: access
Flags: a11y-review+
Attachment #9129825 - Flags: ui-review+
Attachment #9129825 - Flags: a11y-review+

I just threw in an unstyled checkbox, to show what the native focus looked like.

IMO, this is an accessibility issue, as users can't rely on native focus styles to assist in determining where the focus is. Ideally, developers should be implementing custom focus styling, to make up for the rather hard to see focus in some browsers, but many developers fail to do this, unintentionally, and others (as was my case) can't, due to the powers that be.

Priority: -- → P3
Whiteboard: [access-p3]

Updating the Accessibility Team's impact assessment to conform with the new triage guidelines. See https://wiki.mozilla.org/Accessibility/Triage for descriptions of these whiteboard flags.

Whiteboard: [access-p3] → [access-s4]
Severity: normal → S3
Whiteboard: [access-s4] → [access-s4][mac:nonnativetheme]
Accessibility Severity: --- → s4
Whiteboard: [access-s4][mac:nonnativetheme] → [mac:nonnativetheme]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: