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

Investigate the support of HTML "alt" tags via Nunaliit's existing schema definitions #1224

Open
ahayes opened this issue May 1, 2024 · 0 comments
Assignees
Labels
Accessibility Related to making Nunaliit more accessible to persons with disabilities. Enhancement Desired improvement to design or implementation that adds value. Java Nunaliit Java related JavaScript Nunaliit JavaScript related
Milestone

Comments

@ahayes
Copy link
Member

ahayes commented May 1, 2024

Populating alt tags on supported HTML elements in Nunaliit is important to achieve our goals for accessibility. With much of atlas content being supplied by atlas builders and their users, being able to configure the attributes that form the atl content when developing schemas is important. Providing reasonable defaults when not specified would also be important.

For example, attributes in schema definitions could allow for a flag such as "includedInAlt" similar to the "includedInBrief" boolean option. This would allow for alt tags to be built from several attributes if needed. A good default behaviour might be to simply populate the alt tag with the brief when there is no specific configuration provided.

If digging into this section of the code, a bonus effort might be to devise a more flexible brief building syntax and use it for both brief and alt building. Maybe something like the conditional styling system.

@ahayes ahayes added Enhancement Desired improvement to design or implementation that adds value. JavaScript Nunaliit JavaScript related Java Nunaliit Java related Accessibility Related to making Nunaliit more accessible to persons with disabilities. labels May 1, 2024
@ahayes ahayes added this to the 2.2.9 milestone May 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Accessibility Related to making Nunaliit more accessible to persons with disabilities. Enhancement Desired improvement to design or implementation that adds value. Java Nunaliit Java related JavaScript Nunaliit JavaScript related
Projects
None yet
Development

No branches or pull requests

2 participants