Skip to content
This repository was archived by the owner on Sep 5, 2024. It is now read-only.
This repository was archived by the owner on Sep 5, 2024. It is now read-only.

Allow items to be created with Attributes or Elements #1661

@alexwolfe

Description

@alexwolfe

Currently the material design components must be elements which creates problems for accessibility.
<md-button href="https://google.com">Google</md-button>
If javascript is not enabled or until the transformation takes place, this code currently has not meaning. The problem is easily solved by allowing for the A (attribute) in the directive along with the element. This allows the link to be progressively enhanced.
<a href="https://google.com" md-button>Google</a>

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions