[wp-trac] [WordPress Trac] #51006: Add a mechanism for accessible tooltips in core
WordPress Trac
noreply at wordpress.org
Sun Jan 14 17:38:19 UTC 2024
#51006: Add a mechanism for accessible tooltips in core
------------------------------+--------------------------------------------
Reporter: joedolson | Owner: joedolson
Type: enhancement | Status: accepted
Priority: normal | Milestone: 6.5
Component: General | Version:
Severity: normal | Resolution:
Keywords: tooltips has- | Focuses: ui, accessibility, javascript
patch |
------------------------------+--------------------------------------------
Comment (by joedolson):
Thanks for getting started on this @rajinsharwar!
I'm wondering if the PHP function is necessary. I feel like this would be
more easily implemented if it was done entirely in the JS, and just looked
for appropriate data attribute, then generated the appropriate HTML as
needed.
The JS and CSS should be something we can add to common.js and common.css,
as the intended implementation should be fairly broad, and there's no
intention to make this available on the front-end.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/51006#comment:26>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list