-
Notifications
You must be signed in to change notification settings - Fork 81
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
Add button role for NcButton with href #3532
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 <chrng8@gmail.com>
Signed-off-by: Christopher Ng <chrng8@gmail.com>
4e85469
to
a58f169
Compare
Attribute
role="button"
added for anchor element in NcButton withhref
and 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-link
is rendered as a button element https://v3.router.vuejs.org/api/#tag