Add QWAC text and EU trust mark to the sub-page
Categories
(Firefox for Android :: Settings, task)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox162 | --- | fixed |
People
(Reporter: lmccracken, Assigned: lmccracken)
References
(Blocks 1 open bug)
Details
(Whiteboard: [fxdroid][android-activation-trust])
Attachments
(1 external file)
Summary
Show “Qualified as specified in Regulation (EU) 2024/1183.” and the EU trust mark on the certificate details sub-page for QWAC sites
Description
When a site’s certificate is a Qualified Website Authentication Certificate (QWAC), the certificate details sub-page should say so, so users know the certificate is backed by European law. This ticket covers the UI: the statement text and the EU trust mark, placed and styled per Figma. It builds on the scaffold defined previously and reads the QWAC signal agreed prior.
Android owns the UI and the hook that reads the signal. Dana supplies the signal itself, meaning whether the current certificate is a QWAC. This ticket does not determine QWAC status.
The element should appear only when the signal says the certificate is a QWAC. Hiding it for non-QWAC sites is tested explicitly in a different ticket. Localization of the string and the logo’s accessibility description are covered in ticket 11, but this ticket should put the string and description in resources rather than hardcoding them, so only having to refine them.
In scope
QWAC statement text: “Qualified as specified in Regulation (EU) 2024/1183.”
EU trust mark, in the size, position and spacing per Figma
Placement relative to the issued-to card and “Verified by” line, per Figma
Reading the QWAC signal through the hook
Light and dark theme support, including the correct logo asset or tinting for each
Logo asset added as a vector drawable if possible, otherwise correctly sized raster densities
Layout behaviour with large fonts, RTL and tablet widths
Text wrapping next to or below the logo without clipping
Preview or sample data showing the QWAC and non-QWAC states
Out of scope
Determining whether a certificate is a QWAC
Guaranteeing the elements are hidden for non-QWAC sites
Final localization review and TalkBack wording
The stub signal itself
Pref gating
Edge-state behaviour
Focus
Acceptance criteria
When the signal is true, the sub-page shows the statement and the EU trust mark in the position specified by Figma.
Text, logo size, spacing and alignment match Figma in light and dark themes.
The logo is legible and correctly coloured in both themes.
The statement wraps correctly at large font sizes, and the logo and text do not overlap or clip.
The layout mirrors correctly in RTL.
The string and the logo’s content description are in resources, not hardcoded.
The element works on tablet widths.
The logo asset’s licensing and usage has been confirmed (see open questions).
A UI test or preview covers the QWAC-true state.
| Assignee | ||
Updated•1 month ago
|
Updated•1 month ago
|
| Assignee | ||
Updated•15 days ago
|
| Assignee | ||
Comment 1•14 days ago
|
||
The trust mark drawables are converted from the desktop assets. Its colors must
not be altered, so the inverted asset is used on dark backgrounds instead of
tinting it.
Comment 3•13 days ago
|
||
| bugherder | ||
Description
•