Skip to content
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

Accessibility considerations for error reporting #30

Open
brendanzab opened this issue Aug 18, 2018 · 4 comments
Open

Accessibility considerations for error reporting #30

brendanzab opened this issue Aug 18, 2018 · 4 comments

Comments

@brendanzab
Copy link
Owner

Our error reporting should be accessible to people with low, to non-sighted users, and also those who are colour blind.

I think at the moment we support colour blind users reasonably well - ie. colour enhnces the experience, but is not required. It would be interesting to know how non-sighted people fare, and how our error reporting works with terminals with large text sizes.

Wondering if we should do some design documentation surrounding this? Is there any existing resources out there with regards to accessibility for error reporting?

@brendanzab brendanzab changed the title Error reporting accessibility Accessibility considerations for error reporting Aug 18, 2018
@brendanzab
Copy link
Owner Author

Steps we currently take on accessibility:

  • Colour is not required to understand the diagnostics
  • Colours can be customised
  • Characters can be customised (for less fancy fonts)
  • A short mode can be used to get the main messages without the source snippet

@brendanzab
Copy link
Owner Author

I'm thinking we might also need a machine-readable diagnostic format as well (perhaps JSON), separate to the the LSP support. This could enable people using screen readers to create their own tooling for languages using codespan. This is what rustc does.

@brendanzab
Copy link
Owner Author

Some really cool suggestions regarding this were posted here: zkat/miette#28 (comment)

@brendanzab
Copy link
Owner Author

Also a handy thread on twitter: https://twitter.com/marcysutton/status/1109200218275246080

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

No branches or pull requests

1 participant