notification-message should using moz-message-bar heading attribute
Categories
(Toolkit :: UI Widgets, enhancement, P3)
Tracking
()
People
(Reporter: henry-x, Unassigned)
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
|
Updated•1 year ago
|
| Reporter | ||
Updated•1 month ago
|
| Reporter | ||
Comment 1•1 month ago
|
||
Dropped myself as assignee since I'm not likely to be able to spend much time on this for a while.
Description
•