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 SVG AAM spec #42

Merged
merged 2 commits into from
Feb 10, 2025
Merged

Add SVG AAM spec #42

merged 2 commits into from
Feb 10, 2025

Conversation

drwpow
Copy link
Owner

@drwpow drwpow commented Feb 10, 2025

Changes

Further addresses #25 by adding behavior and tests for SVG AAM roles.

Also adds some minor cleanup to prepare for a minor release

How to Review

  • Tests added

Checklist

  • Unit tests updated

Copy link

changeset-bot bot commented Feb 10, 2025

🦋 Changeset detected

Latest commit: e695832

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
html-aria Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@drwpow drwpow force-pushed the aam-improvements-2 branch 2 times, most recently from 48fc3c7 to f932b12 Compare February 10, 2025 00:43
@drwpow drwpow force-pushed the aam-improvements-2 branch from f932b12 to e695832 Compare February 10, 2025 00:44
{ given: ['<svg><animateTransform></animateTransform></svg>', 'animateTransform'], want: 'none' },
],
['circle', { given: ['<svg><circle /></svg>', 'circle'], want: 'none' }],
['circle (empty title)', { given: ['<svg><circle><title></title></circle></svg>', 'circle'], want: 'none' }],
Copy link
Owner Author

Choose a reason for hiding this comment

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

cc @cmorten Added tests that attempt to satisfy the behavior outlined in the SVG AAM Including elements in the accessibility tree section. circle got tests for every behavior that describes; other similar elements like rect, ellipse, path, etc. follow the same codepath so it’s assumed they match

@drwpow drwpow merged commit c000339 into main Feb 10, 2025
9 checks passed
@drwpow drwpow deleted the aam-improvements-2 branch February 10, 2025 00:51
@github-actions github-actions bot mentioned this pull request Feb 10, 2025
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.

1 participant