[wp-trac] [WordPress Trac] #34867: Introduce a CSS class which identifies elements that are either links or buttons depending on JS presence
WordPress Trac
noreply at wordpress.org
Mon Dec 14 23:28:37 UTC 2015
#34867: Introduce a CSS class which identifies elements that are either links or
buttons depending on JS presence
-------------------------------------+-------------------------------------
Reporter: mcapybara | Owner: afercia
Type: enhancement | Status: assigned
Priority: normal | Milestone: 4.5
Component: Administration | Version: 4.4
Severity: normal | Resolution:
Keywords: has-patch has- | Focuses: ui, accessibility,
screenshots | javascript
-------------------------------------+-------------------------------------
Comment (by afercia):
Refreshed patch. Will get again the element with a `aria-button-if-js` CSS
class whenever any Ajax request completes. A bit dumb, not sure if there
are better ways. Can't use MutationObserver for lack of support and looks
like a bit overkill. Open to suggestions :)
--
Ticket URL: <https://core.trac.wordpress.org/ticket/34867#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list