Skip to content

[DialogTitle] Documentation default variant different from default rendered  #16569

Description

@dayander

In the documentation the default component rendered for DialogTilte is an h2 but an h6 is the default rendered element.

  • This is not a v0.x issue.
  • I have searched the issues of this repository and believe that this is not a duplicate.

Expected Behavior 🤔

Based on documentation the default element rendered for DialogTitle is an h2 element.
Screen Shot 2019-07-11 at 9 21 14 AM

Current Behavior 😯

The default element rendered is an h6

Steps to Reproduce 🕹

Link:

  1. https://codesandbox.io/s/create-react-app-ns87j
  2. examples on https://material-ui.com/components/dialogs/

Context 🔦

To make our application more accessible, while also making it easier for people to contribute without a large knowledge base of accessibility.

Your Environment 🌎

Tech Version
Material-UI v4.1.1
React v 16.8.6
Browser Chrome v75.0
etc.

Metadata

Metadata

Assignees

No one assigned

    Labels

    accessibilitya11ygood first issueGreat for first contributions. Enable to learn the contribution process.scope: dialogChanges related to the dialog.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions