Closed Bug 1875384 Opened 10 months ago Closed 10 months ago

Consider making common dialogs use `font: menu` for a more accessible macOS experience

Categories

(Toolkit :: Themes, enhancement, P2)

Desktop
macOS
enhancement

Tracking

()

RESOLVED FIXED
124 Branch
Tracking Status
firefox124 --- fixed

People

(Reporter: jules, Assigned: dao)

References

Details

(Keywords: access)

Attachments

(2 files, 1 obsolete file)

Attached image dialog on a mac.png (obsolete) —

Today, common dialogs default to a font size that is a bit too small on macOS (screenshot attached). It's defaulting to message-box sizing, which is 11px (on macOS), providing a not super accessible experience. We tend to rely on that font size for tabs and bookmarks on the toolbar, so we should avoid using it for text heavy content / body content.

Panels rely on font: menu which results in 13px (on macOS). I'd recommend we assign the menu font in the common dialog CSS to guarantee our dialogs are using the same font sizing as our panels. This shouldn't affect Linux and Windows experiences as menu seems to be the same size as message-box in those platforms.

Attachment #9374182 - Attachment is obsolete: true
Severity: -- → S3
Priority: -- → P2
Keywords: access
Blocks: 1875642
Assignee: nobody → dao+bmo
Status: NEW → ASSIGNED

(In reply to Jules Simplicio [:jules] from comment #0)

Panels rely on font: menu which results in 13px (on macOS). I'd recommend we assign the menu font in the common dialog CSS to guarantee our dialogs are using the same font sizing as our panels. This shouldn't affect Linux and Windows experiences as menu seems to be the same size as message-box in those platforms.

It is the same size but not the same font necessarily, right?

Depends on: 1876699
OS: Unspecified → macOS
Hardware: Unspecified → Desktop

(In reply to Emilio Cobos Álvarez (:emilio) from comment #3)

(In reply to Jules Simplicio [:jules] from comment #0)

Panels rely on font: menu which results in 13px (on macOS). I'd recommend we assign the menu font in the common dialog CSS to guarantee our dialogs are using the same font sizing as our panels. This shouldn't affect Linux and Windows experiences as menu seems to be the same size as message-box in those platforms.

It is the same size but not the same font necessarily, right?

I was under the same impression as Dão, I believe, that it wouldn't affect the font but just the size.
Ideally we're just making a change that affects the size.
Thanks for jumping.

Pushed by dgottwald@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/912de7d5e462 Make dialogs use `font: menu` for a more accessible macOS experience. r=jules,desktop-theme-reviewers,emilio
Status: ASSIGNED → RESOLVED
Closed: 10 months ago
Resolution: --- → FIXED
Target Milestone: --- → 124 Branch
See Also: → 1877554
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: