Add a concept of verbose labels to actions.
Review Request #14642 — Created Oct. 18, 2025 and submitted
A verbose label is a longer version of a label that can be used for
display purposes (such as in the Review menu) and for ARIA labels. By
separating these concepts, an action can have one representation in a
place like the Review menu and another in a place like the Quick Access
area without having to have two separate registered actions.It's set up just like labels on the Python classes and JavaScript
model, and is opted into by action views.The detailed menu template (used for the Review menu) prioritizes the
verbose label over the standard label. Standard menus and buttons use it
exclusively for ARIA labels.
Unit tests pass.
Tested that the Review menu had the correct labels and that buttons had
the correct ARIA labels.
| Summary | ID |
|---|---|
| 5c17c41509559075035f409b8a3e63fe00a0eda9 |
| Description | From | Last Updated |
|---|---|---|
|
Why not get rid of the if and do aria-label="{{verbose_label|default:label}}"> here? |
|
- Change Summary:
-
Unconditionally set the label on the button action.
- Commits:
-
Summary ID 6e5dbf76668ceb6156511bf26771846ff11785f6 5c17c41509559075035f409b8a3e63fe00a0eda9 - Diff:
-
Revision 2 (+136 -30)