You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 5, 2024. It is now read-only.
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>
The text was updated successfully, but these errors were encountered:
Most directives are too complex to be HTML and CSS only. If they're not, you're very likely to not be able to make them adhere to Material Design without lots of markup (for example, the ripple effect).
Also, it's worth noting that Firefox does no longer allow you to disable JS without going deep into about: config.
It's worth noting that <md-button> is being replaced with <button> or <a>, providing adequate accessibility after transclusion. But supporting progressive enhancement wherever possible is definitely a good idea.
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>
The text was updated successfully, but these errors were encountered: