Skip to content

a11y improvements for gists #576

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Oct 25, 2021
Merged

a11y improvements for gists #576

merged 4 commits into from
Oct 25, 2021

Conversation

aomarks
Copy link
Member

@aomarks aomarks commented Oct 21, 2021

  • MWC now requires aria-label instead of label
  • Don't close flyout when clicking buttons with keyboard (bugfix)
  • Recover from not being allowed to write to clipboard (actually just affects Safari generally)

Part of #533

@github-actions
Copy link

github-actions bot commented Oct 21, 2021

A live preview of this PR will be available at the URL(s) below.
The latest URL will be appended to this comment on each push.
Each build takes ~5-10 minutes, and will 404 until finished.

https://pr576-1e79569---lit-dev-5ftespv5na-uc.a.run.app/
https://pr576-afde06a---lit-dev-5ftespv5na-uc.a.run.app/
https://pr576-e1af33f---lit-dev-5ftespv5na-uc.a.run.app/
https://pr576-f4659ad---lit-dev-5ftespv5na-uc.a.run.app/

@aomarks aomarks changed the base branch from gist-polish to main October 22, 2021 15:19
Copy link
Contributor

@AndrewJakubowicz AndrewJakubowicz left a comment

Choose a reason for hiding this comment

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

LGTM!

} catch {
// The browser isn't allowing us to copy. This could happen because it's
// disabled in settings, or because we're in a browser like Safari that
// only allows copying from a syncronous event handler.
Copy link
Contributor

Choose a reason for hiding this comment

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

Typo: synchronous

Copy link
Member Author

Choose a reason for hiding this comment

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

Done

@aomarks aomarks merged commit 4d6bcb3 into main Oct 25, 2021
@aomarks aomarks deleted the gist-a11y branch October 25, 2021 20:39
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