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

[Feature Request] Accessibility support? #388

Closed
ethindp opened this issue Mar 19, 2024 · 5 comments
Closed

[Feature Request] Accessibility support? #388

ethindp opened this issue Mar 19, 2024 · 5 comments

Comments

@ethindp
Copy link

ethindp commented Mar 19, 2024

I'm not sure how easy this would be for an immediate-mode UI, but I thought I'd ask. There is a library called AccessKit that simplifies this task a lot and abstracts away the platform-specific things you'd need to normally use. The API documentation is mostly in Rust (as the library is written in Rust) but there are C examples. I can help if we can figure out the problem of "it's an immediate-mode UI", but it would be amazing if this could be done. A prerequisite is issue #385 as it will be a requirement for screen readers and individuals who cannot use the mouse.

@raysan5
Copy link
Owner

raysan5 commented Mar 19, 2024

@ethindp I'm afraid this is really out-of-scope for raygui project. AccessKit seems to be a lower level library, like GLFW (that is integrated into raylib).

@ethindp
Copy link
Author

ethindp commented Mar 19, 2024

@raysan5 May I ask why such a critical feature like this would be out-of-scope? AccessKit might not be the most high-level library but it's much higher level than the OS accessibility abstractions (UIA, AT-SPI2, whatever MacOS implements).

@raysan5
Copy link
Owner

raysan5 commented Mar 19, 2024

@ethindp Mostly two reasons:

  1. raygui is a very small self-contained library, I don't want to add an humungus external dependency.
  2. I can't maintain it.

Thanks for your comprehension.

@raysan5 raysan5 closed this as completed Mar 19, 2024
@raysan5
Copy link
Owner

raysan5 commented Mar 19, 2024

@ethindp Note that raygui is a free and open source project. If you think that feature is crucial for your target project, you can fork it and implement it yourself.

@ethindp
Copy link
Author

ethindp commented Mar 19, 2024

Ah okay, thank you for your explanations.

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

2 participants