Opened 10 years ago
Closed 10 years ago
#33062 closed defect (bug) (fixed)
Comment status box focus management and accessibility
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 4.3 | Priority: | normal |
Severity: | normal | Version: | 4.2 |
Component: | Comments | Keywords: | has-patch |
Focuses: | accessibility, javascript | Cc: |
Description
When editing a comment, the Comment status box has the same functionality to edit the timestamp date as the Post Publish box. Focus should be handled in the same way, see #33060.
See the screenshot below:
- when clicking the Edit link, focus should be moved to the first form element when the animation is complete
- when clicking OK or Cancel, focus should be moved back to the Edit link before the animation starts
Currently, when clicking Edit, OK or Cancel, focus is lost and users have to start tabbing again from the document root.
Worth noting for accessibility the orange used for the Pending radio button label doesn't have a sufficient color contrast ratio but this is out of the scope of this ticket.
Attachments (2)
Note: See
TracTickets for help on using
tickets.
Proposed patch adds focus management for the edit timestamp links and tries to clean up a bit. See similar patches proposed for the Post Publish box, #33059 and #33060.