Skip to content

Ensuring MicroMDM Logos are Hidden to assistive technologies#751

Merged
jessepeterson merged 1 commit intomicromdm:mainfrom
bpmcneilly:ensuring-null-svg
May 5, 2021
Merged

Ensuring MicroMDM Logos are Hidden to assistive technologies#751
jessepeterson merged 1 commit intomicromdm:mainfrom
bpmcneilly:ensuring-null-svg

Conversation

@bpmcneilly
Copy link
Contributor

Following up on #721 (I was out when I got messages from @williamtheaker), I've added a few extras to the changes proposed there.

While the SVG a11y APIs should ensure that this SVG isn't exposed to assistive technologies, I've added aria-hidden="true" to ensure that the content is not exposed to users.

Similarly, while this bug is generally windows-based, and increasingly rare, some OS / browser combinations make all SVG elements focusable via the keyboard by default, so I've added focusable="false" to prevent that from happening in these odd corner cases.

Let me know if you have any questions here!

Updating blank SVG to ensure that it does not receive keyboard focus / is not exposed to assistive technologies.
Copy link
Member

@jessepeterson jessepeterson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @bpmcneilly! Your insight here is super appreciated, even for our modest little landing page. :)

@jessepeterson jessepeterson merged commit fcb8c1f into micromdm:main May 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants