Skip to content

DisclosureTriangleRole model wrong? #319

@dummdidumm

Description

@dummdidumm

In #273 the DisclosureTriangleRole model was adjusted and constraints/attributes were added. If I'm understanding this correctly, that means that a <summary> tag now either needs a open or aria-expanded attribute, but both these AFAIK should be on the parent <details> tag instead. So if I'm understanding this correctly, the DisclosureTriangleRole model should instead be reduced to

const DisclosureTriangleRole: AXObjectModelDefinition = {
  relatedConcepts: [
    {
      module: 'HTML',
      concept: {
        constraints: [
          'scoped to a details element',
        ],
        name: 'summary',
      },
    },
  ],
  type: 'widget',
};

It could also very well be that I'm understanding the semantic meaning of attributes incorrectly, in which case could you briefly explain what it means?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions