Skip to content

Use heading instead of div, span in calcite-tile and calcite-accordion-item #12460

Open
@cont-amibabkin

Description

@cont-amibabkin

Check existing issues

Summary

There are contents that function as a heading but do not use heading markup. We would like to be able to set the heading level (this is implemented in the calcite-dialog).

Image Image

Actual Behavior

<div class="heading">Special viewing glasses</div>

Expected Behavior

<h4 class="heading">Special viewing glasses</h4>

Reproduction Sample

https://developers.arcgis.com/calcite-design-system/components/tile/#sample
https://developers.arcgis.com/calcite-design-system/components/accordion/#sample

Reproduction Steps

  1. Open the DevTools console and inspect these elements.
  2. Verify these this elements do not use heading markup.

Reproduction Version

3.0.3

Working W3C Example/Tutorial

https://www.w3.org/WAI/tutorials/page-structure/headings/

Relevant Info

No response

Regression?

No response

Priority impact

impact - p3 - not time sensitive

Calcite package

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

Esri team

ArcGIS Business/Community Analyst

Metadata

Metadata

Assignees

No one assigned

    Labels

    0 - newNew issues that need assignment.ArcGIS Business/Community AnalystIssues logged by ArcGIS Business/Community Analyst team members.a11yIssues related to Accessibility fixes or improvements.bugBug reports for broken functionality. Issues should include a reproduction of the bug.impact - p3 - not time sensitiveUser set priority impact status of p3 - not time sensitiveneeds triagePlanning workflow - pending design/dev review.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions