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

Add attributes for ARIA accessibility #193

Open
Tarmil opened this issue Sep 17, 2018 · 0 comments
Open

Add attributes for ARIA accessibility #193

Tarmil opened this issue Sep 17, 2018 · 0 comments

Comments

@Tarmil
Copy link
Member

Tarmil commented Sep 17, 2018

Accessible Rich Internet Applications (ARIA) is a set of attributes that define ways to make Web content and Web applications [...] more accessible to people with disabilities. For example, ARIA enables accessible navigation landmarks, JavaScript widgets, form hints and error messages, live content updates, and more.

I think we should add the following:

  • A function attr.aria : name:string -> value:string -> Attr which would create an attribute aria-name="value".
  • Functions for standard ARIA attributes such as attr.ariaHidden : value:string -> Attr which would create an attribute aria-hidden="value".
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Releases
Lower priority
Development

No branches or pull requests

1 participant