Merge pull request #1703 from LeBenLeBen/develop

Completely hide SVG icons to screen readers
This commit is contained in:
Sam Potts
2020-02-26 12:31:34 +11:00
committed by GitHub

2
src/js/controls.js vendored
View File

@ -111,7 +111,7 @@ const controls = {
setAttributes( setAttributes(
icon, icon,
extend(attributes, { extend(attributes, {
role: 'presentation', 'aria-hidden': 'true',
focusable: 'false', focusable: 'false',
}), }),
); );