Skip to content

Conversation

@huynhducduy
Copy link

Description

  • Role none introduced as a synonym to presentation role, thus must have the same configuration as presentation role.
  • Based on DPub-ARIA 1.1, role doc-pullquote incorrectedly have superClass of none, which should be section

Sumary of changes

  • Update configuration of role none to match role presentation
  • Add tests for role none to be the same as role presentation's tests
  • Update superClass of doc-pullquote to section instead of none

@codesandbox-ci
Copy link

codesandbox-ci bot commented Apr 9, 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.

Copy link
Contributor

@cmorten cmorten left a comment

Choose a reason for hiding this comment

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

Not that my approval is worth much, but LGTM

I wonder with future synonyms dropping such as image for img whether synonyms should be described as part of the interface (perhaps as part of related concepts, or a new field), but maybe one for a separate change

@ljharb ljharb marked this pull request as draft July 8, 2024 04:44
@ljharb
Copy link
Collaborator

ljharb commented Jul 8, 2024

tests appear to be failing

@jlp-craigmorten
Copy link
Contributor

Worth noting the "update role doc-pullquote to match specification" aspect of this change is as a result of differences between versions 1.0 and 1.1 of the DPUB-ARIA specification, see:

In addition to the superclass role, there are also differences in the listed "inherited states and properties".

Assuming aria-query was based off of the 1.0 spec (a reasonable assumption given it's reflection), this should be considered a breaking change.

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.

4 participants