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.

mdSwitch: when focused and without a label, displays a black dot #944

@PaulMougel

Description

@PaulMougel

This happens on Chrome, Safari and Firefox, on v0.6.1-master-fcb9b2c.

In this example, the first slider has a label and behaves well. The second doesn't have a label, but when focused a black dot is displayed…

Plunker here, code below:

<md-switch ng-model="switched" aria-label="Awesome Switch" ng-model="switched">Yo</md-switch>
<md-switch ng-model="switched" aria-label="Awesome Switch" ng-model="switched"></md-switch>

untitled

You can also manually trigger this artifact by selecting the :focus style in devtools:
image

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions