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

fix: add missing constraints for aside element to have the implicit complementary role #558

Merged
merged 1 commit into from
Jul 8, 2024

Conversation

jlp-craigmorten
Copy link
Contributor

Fixes #526

This change adds the missing constraints for the aside element to have the implicit complementary role.

REF: https://www.w3.org/TR/html-aam-1.0/#el-aside-ancestorbodymain

Note the use of two constraints rather than a single for "body or main" is to mirror precedent set by existing constraints, e.g. see the constraints for td with gridcell role, as well as header or footer constraints for the generic role as examples.

Copy link

codesandbox-ci bot commented Jul 6, 2024

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

@coveralls
Copy link

coveralls commented Jul 6, 2024

Pull Request Test Coverage Report for Build 9821929894

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 94.798%

Totals Coverage Status
Change from base Build 9799525368: 0.0%
Covered Lines: 257
Relevant Lines: 263

💛 - Coveralls

samccone added a commit to samccone/aria-query that referenced this pull request Jul 7, 2024
As discovered in A11yance#554

Address the defect introduced f7f6120#r143856081

This change depends on A11yance#558 which when applied (as in this PR makes the teset cases pass)
Copy link
Collaborator

@ljharb ljharb left a comment

Choose a reason for hiding this comment

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

thanks! looks good

@ljharb ljharb merged commit 4c2408d into A11yance:main Jul 8, 2024
7 checks passed
ljharb pushed a commit to samccone/aria-query that referenced this pull request Jul 8, 2024
As discovered in A11yance#554

Address the defect introduced f7f6120#r143856081

This change depends on A11yance#558 which when applied (as in this PR makes the teset cases pass)
ljharb pushed a commit to samccone/aria-query that referenced this pull request Jul 8, 2024
As discovered in A11yance#554

Address the defect introduced f7f6120#r143856081

This change depends on A11yance#558 which when applied (as in this PR makes the teset cases pass)
ljharb pushed a commit to samccone/aria-query that referenced this pull request Jul 8, 2024
As discovered in A11yance#554

Address the defect introduced f7f6120#r143856081

This change depends on A11yance#558 which when applied (as in this PR makes the teset cases pass)
@jlp-craigmorten jlp-craigmorten deleted the fix-aside-element-concepts branch July 8, 2024 07:28
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.

elementRoleMaps includes conflicting mapping for complementary
4 participants