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 accessibility info to summary diagrams #3850

Merged

Conversation

tylerbutler
Copy link
Member

Fixes #3621.

{{< /mermaid >}}

<span class="screen-reader-text">
<ul aria-label="Describes the hierarchical structure of the summary tree from the root to the first layer of leaf nodes.">
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These aren't being read off by narrator. It goes from the above paragraph into the list itself

The root node corresponds to the Container, and it contains the protocol information as well as any partially processed chunk op data.
Enter List, 1 of 1 level 1, bullet, root
1 of 5 level 2, hollow bullet, .protocol
2 of 5 level 2, hollow bullet, _scheduler

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since we're already hiding this section, this aria-label would probably do better as a paragraph tag on it's own.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

a label and labeledby works really well

image

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice! Thanks for the suggestion. Will address in the next iteration.

Copy link
Member

@micahgodbolt micahgodbolt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

suggestions to ensure description gets read

Copy link
Member

@micahgodbolt micahgodbolt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Other than what seems to be a dup UL, this looks good

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.

The tree structure in the learning section doesn't seem to be accessible with a screenreader
2 participants