Opened 8 years ago
Closed 7 years ago
#7421 closed enhancement (fixed)
Accessibility: Change sitewide notices "Close" controls to semantic buttons
Reported by: | mercime | Owned by: | mercime |
---|---|---|---|
Milestone: | 2.9 | Priority: | normal |
Severity: | normal | Version: | |
Component: | Messages | Keywords: | has-patch has-screenshots |
Cc: |
Description
Change "close" empty link, <a href="#"...>
, to <button>
element in the sitewide notices markup showing up in either the widget or under the admin bar.
Attachments (11)
Change History (19)
#3
@
8 years ago
@slaFFik Could do that for the sitewide notice under admin bar. Attached 2 new images for both scenarios. I am partial to simply changing the link to a button element though :)
#4
@
8 years ago
This is a welcome change.
How about a combination of keeping the text but floating it to the right? Visually, I'd want it to be aligned with the top-most line of text, and with a right-margin that's equal to the left-margin of the top line of text. Does that make sense? Kinda like how the admin-notices in wp-admin
work currently?
#5
@
8 years ago
- Milestone changed from Awaiting Review to 2.9
@mercime If you can finish this and get it into trunk very soon, feel free to move this ticket back to 2.8.
#6
@
8 years ago
Replying to johnjamesjacoby:
How about a combination of keeping the text but floating it to the right? Visually, I'd want it to be aligned with the top-most line of text, and with a right-margin that's equal to the left-margin of the top line of text. Does that make sense? Kinda like how the admin-notices in
wp-admin
work currently?
Sorry I was delayed. Per your feedback, new patch tested with long subject title and text plus screenshot are attached .
Replying to DJPaul:
@mercime If you can finish this and get it into trunk very soon, feel free to move this ticket back to 2.8.
Swamped at the time to do complete at the time for 2.8 :(
What about the same concept that is used in
is-dismissable
(or similar) class for notices in wp-admin area?Mainly the
x
"button" on the right side of the notice.