Skip to content

Ensure toAriaBoolean is used in rendering #8976

@jcfranco

Description

@jcfranco

Description

Stems from #8962 (comment).

Not sure if this is related to the issue, but this, and similar lines, should be using toAriaBoolean (see example). In its current form, it's setting a boolean on the attribute instead of "true" or "false".

Proposed Advantages

ARIA-related boolean attributes need to be explicitly set to "true"/"false" to be interpreted correctly.

Which Component

Relevant Info

No response

Calcite package

  • @esri/calcite-components
  • @esri/calcite-components-angular
  • @esri/calcite-components-react
  • @esri/calcite-design-tokens
  • @esri/eslint-plugin-calcite-components

Metadata

Metadata

Assignees

No one assigned

    Labels

    0 - newNew issues that need assignment.calcite-componentsIssues specific to the @esri/calcite-components package.estimate - 5A few days of work, definitely requires updates to tests.needs milestonePlanning workflow - pending milestone assignment, has priority and/or estimate.p - lowIssue is non core or affecting less that 10% of people using the libraryrefactorIssues tied to code that needs to be significantly reworked.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions