Opened 10 years ago
Closed 10 years ago
#34627 closed defect (bug) (fixed)
Improve form labels and descriptions for the Tags meta box in the Edit Post screen
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Milestone: | 4.4 | Priority: | normal |
| Severity: | normal | Version: | 4.3 |
| Component: | Administration | Keywords: | has-patch has-screenshots |
| Focuses: | ui, accessibility | Cc: |
Description
Noticed a couple of things that could be improved in the Tags meta box:
- with JavaScript on, the input field label is set to the meta box title and it says just "Tags", maybe it should use the label provided by
$taxonomy->labels->add_new_itemthe default is 'Add New Tag' - with JavaScript off, a textarea appears instead of the input field. This textarea doesn't have a label at all, the "Add or remove tags" text is just a paragraph
- a nice improvement would be using the description below the form as target for an
aria-describedbyattribute (note: Press This already does this)
Attachments (2)
Change History (5)
Note: See
TracTickets for help on using
tickets.
The proposed patch improves the labels and uses
aria-describedbyattributes to target the description. See screenshot below: