Skip to content

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

Merged
ljharb merged 1 commit into
A11yance:mainfrom
jlp-craigmorten:fix-aside-element-concepts
Jul 8, 2024
Merged

fix: add missing constraints for aside element to have the implicit complementary role#558
ljharb merged 1 commit into
A11yance:mainfrom
jlp-craigmorten:fix-aside-element-concepts

Conversation

@jlp-craigmorten
Copy link
Copy Markdown
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.

@codesandbox-ci
Copy link
Copy Markdown

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
Copy Markdown

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
Copy Markdown
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
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