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
commit 75327f2242
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

2
src/js/controls.js vendored
View File

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