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

Check attribute types for safety #4

Merged
merged 3 commits into from
Jan 29, 2024
Merged

Check attribute types for safety #4

merged 3 commits into from
Jan 29, 2024

Conversation

tmandry
Copy link
Contributor

@tmandry tmandry commented Jan 29, 2024

It's probably not safe to assume that an application has a conforming accessibility implementation with expected types for every standard attribute, so check the type and report an error if it's incorrect.

This also marks the Error enum as non_exhaustive while we're adding a variant.

Finally, stringify AXErrors and report them in the Error impl. (This includes a cherry-pick from #1.)

@eiz eiz merged commit 589d55a into eiz:master Jan 29, 2024
@eiz
Copy link
Owner

eiz commented Jan 29, 2024

thanks!

@tmandry tmandry deleted the type-error branch January 29, 2024 04:35
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.

3 participants