-
Notifications
You must be signed in to change notification settings - Fork 92
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
[BITV/A11Y] NcAppNavigationNewItem
should be implemented as button not span.
#4108
Labels
accessibility
Making sure we design for the widest range of people possible, including those who have disabilities
design
Design, UX, interface and interaction design
discussion
Need advices, opinions or ideas on this topic
enhancement
New feature or request
Comments
nfebe
added
enhancement
New feature or request
design
Design, UX, interface and interaction design
discussion
Need advices, opinions or ideas on this topic
accessibility
Making sure we design for the widest range of people possible, including those who have disabilities
labels
May 13, 2023
nfebe
added a commit
to nextcloud/server
that referenced
this issue
May 13, 2023
The "Add group" peforms an on-page action and does not route or link to anywhere else hence, not semantically a link but a button. This commit implements the ehancement described at the respository level. A change would be required in [@nextcloud/nextcloud-vue](nextcloud-libraries/nextcloud-vue#4108) since the `NcAppNavigationNewItem` is an out-of-repo dependency. Signed-off-by: fenn-cs <[email protected]>
nfebe
added a commit
to nextcloud/server
that referenced
this issue
May 13, 2023
The "Add group" peforms an on-page action and does not route or link to anywhere else hence, not semantically a link but a button. This commit implements the ehancement described at the respository level. A change would be required in [@nextcloud/nextcloud-vue](nextcloud-libraries/nextcloud-vue#4108) since the `NcAppNavigationNewItem` is an out-of-repo dependency. Signed-off-by: fenn-cs <[email protected]>
nfebe
added a commit
to nextcloud/server
that referenced
this issue
May 13, 2023
The "Add group" peforms an on-page action and does not route or link to anywhere else hence, not semantically a link but a button. This commit implements the ehancement described at the respository level. A change would be required in [@nextcloud/nextcloud-vue](nextcloud-libraries/nextcloud-vue#4108) since the `NcAppNavigationNewItem` is an out-of-repo dependency. Signed-off-by: fenn-cs <[email protected]>
1 task
nfebe
added a commit
to nextcloud/server
that referenced
this issue
May 14, 2023
The "Add group" peforms an on-page action and does not route or link to anywhere else hence, not semantically a link but a button. This commit implements the ehancement described at the respository level. A change would be required in [@nextcloud/nextcloud-vue](nextcloud-libraries/nextcloud-vue#4108) since the `NcAppNavigationNewItem` is an out-of-repo dependency. Signed-off-by: fenn-cs <[email protected]>
nfebe
added a commit
that referenced
this issue
May 24, 2023
`NcAppNavigationNewItem` performs an on-page action and so the correct sematic tag is button. Resolves : #4108 Signed-off-by: fenn-cs <[email protected]>
2 tasks
nfebe
added a commit
that referenced
this issue
May 30, 2023
`NcAppNavigationNewItem` performs an on-page action and so the correct sematic tag is button. Additionally, remove divs inside new button implementation. Resolves : #4108 Signed-off-by: fenn-cs <[email protected]>
nfebe
added a commit
that referenced
this issue
May 30, 2023
`NcAppNavigationNewItem` performs an on-page action and so the correct sematic tag is button. Additionally, remove divs inside new button implementation. Resolves : #4108 Signed-off-by: fenn-cs <[email protected]>
nfebe
changed the title
[BITV/A11Y] May 30, 2023
NcAppNavigationNewItem
should be implemented as button not span.NcAppNavigationNewItem
should be implemented as button not span.
nfebe
added a commit
that referenced
this issue
May 31, 2023
`NcAppNavigationNewItem` performs an on-page action and so the correct sematic tag is button. Additionally, remove divs inside new button implementation. Resolves : #4108 Signed-off-by: fenn-cs <[email protected]>
nfebe
added a commit
that referenced
this issue
May 31, 2023
`NcAppNavigationNewItem` performs an on-page action and so the correct sematic tag is button. Additionally, remove divs inside new button implementation. Resolves : #4108 Signed-off-by: fenn-cs <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
accessibility
Making sure we design for the widest range of people possible, including those who have disabilities
design
Design, UX, interface and interaction design
discussion
Need advices, opinions or ideas on this topic
enhancement
New feature or request
Following nextcloud/server #37135 it appears the right
NcAppNavigationItem
to use would beNcAppNavigationNewItem
. That's better than using an anchor tag as it was withNcAppNavigationItem
. However,NcAppNavigationNewItem
by virtue of how it functions triggers and action without routing anywhere so it should be semantically implemented as a button.Code : https://github.com/nextcloud/nextcloud-vue/blob/master/src/components/NcAppNavigationNewItem/NcAppNavigationNewItem.vue
https://github.com/nextcloud/nextcloud-vue/blob/2d6245af80f9cfc5004d67489d00a4b22774e350/src/components/NcAppNavigationNewItem/NcAppNavigationNewItem.vue#L79-L81
Helpful Notes : https://karlgroves.com/links-are-not-buttons-neither-are-divs-and-spans/
The text was updated successfully, but these errors were encountered: