You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
General: Use legacy content properties for CSS icons.
In modern browsers the CSS content property provides alt text support for assistive technology in the form display / alt text. This introduces support for legacy browsers that do not support the new syntax.
CSS content properties take advantage of the CSS cascade and browsers ignoring values they don't understand by adding duplicate content properties in the form:
{{{#!css
content: display;
content: display / alt text;
Modern browsers will use the second property, legacy browsers will use the first.
}}}
Follow-up to [60885] for #63603.
Reviewed by wildworks, jorbin.
Merges [61480] to the 6.9 branch.
Props acmoifr, joedolson, jorbin, mydesign78, ov3rfly, peterwilsoncc, presskopp, sabernhardt, siliconforks, swissspidy, threadi, wildworks, wolf45.
Fixes #64350.
git-svn-id: https://develop.svn.wordpress.org/branches/6.9@61531 602fd350-edb4-49c9-b593-d223f7449a82
0 commit comments