-
Notifications
You must be signed in to change notification settings - Fork 96
Add button role for NcButton with href #3532
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
@Pytal Are you sure, this is necessary? Looking at nextcloud/server#35527 I suppose this is about passing |
|
This is for the attribute |
If |
|
Probaby here Will wait for input from @skjnldsv |
Absolutely 👍 |
Signed-off-by: Christopher Ng <[email protected]>
Signed-off-by: Christopher Ng <[email protected]>
4e85469 to
a58f169
Compare
Attribute
role="button"added for anchor element in NcButton withhrefand fixed the invalidtype="button"attr being added to the DOM when using NcButton as a link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#attr-typerouter-linkis rendered as a button element https://v3.router.vuejs.org/api/#tag