Open
Bug 1926044
Opened 1 year ago
Updated 1 year ago
notification-message should using moz-message-bar heading attribute
Categories
(Toolkit :: UI Widgets, enhancement, P3)
Toolkit
UI Widgets
Tracking
()
NEW
People
(Reporter: henry-x, Assigned: henry-x)
References
(Depends on 1 open bug)
Details
From https://phabricator.services.mozilla.com/D225632#7761883.
In the patch for bug 1895857, we use MozMessageBar.heading as the accessible name and MozMessageBar.message as the description. But if MozMessageBar.heading is missing MozMessageBar.message will be used as the accessible name instead.
However, NotificationBox only exposes setting the message attribute. Moreover, in some places, the message is set to include a <strong> prefix, such as restore-session-startup-suggestion-message. This <strong> content should be assigned to the message heading, with the rest being its message.
We should expose a way to append a notification with a heading, and convert these cases to use it.
Updated•1 year ago
|
Type: defect → enhancement
Updated•1 year ago
|
Priority: -- → P3
You need to log in
before you can comment on or make changes to this bug.
Description
•