Skip to content

Calendar - Replace Heading with Text #6637

@jcfilben

Description

@jcfilben

Follow on to: grommet/hpe-design-system#3016

Expected Behavior

The Calendar's month and year shouldn't be a Heading. This causes the screenreader to interpret it as a heading landmark on the page.

Actual Behavior

We should use the Text component instead of Heading for the month and year. The month and year container should be a Header component.

URL, screen shot, or Codepen exhibiting the issue

Steps to Reproduce

Your Environment

  • Grommet version:
  • Browser Name and version:
  • Operating System and version (desktop or mobile):

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions