Skip to content

Commit 450985f

Browse files
authored
Merge pull request #40938 from nextcloud/fix/a11y/change-scope-actions
fix(settings): Account property scope actions
2 parents d772537 + 5a562a5 commit 450985f

File tree

4 files changed

+7
-18
lines changed

4 files changed

+7
-18
lines changed

apps/settings/src/components/PersonalInfo/shared/FederationControl.vue

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,7 @@
3434
:is-supported-scope="supportedScopes.includes(federationScope.name)"
3535
:name="federationScope.name"
3636
:tooltip-disabled="federationScope.tooltipDisabled"
37-
:tooltip="federationScope.tooltip"
38-
:aria-label="federationScope.tooltip" />
37+
:tooltip="federationScope.tooltip" />
3938
</NcActions>
4039
</template>
4140

apps/settings/src/components/PersonalInfo/shared/FederationControlAction.vue

Lines changed: 3 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,12 @@
2121
-->
2222

2323
<template>
24-
<NcActionButton :aria-label="isSupportedScope ? tooltip : tooltipDisabled"
25-
class="federation-actions__btn"
24+
<NcActionButton class="federation-actions__btn"
2625
:class="{ 'federation-actions__btn--active': activeScope === name }"
2726
:close-after-click="true"
2827
:disabled="!isSupportedScope"
2928
:icon="iconClass"
30-
:title="displayName"
29+
:name="displayName"
3130
@click.stop.prevent="updateScope">
3231
{{ isSupportedScope ? tooltip : tooltipDisabled }}
3332
</NcActionButton>
@@ -87,18 +86,9 @@ export default {
8786
</script>
8887

8988
<style lang="scss" scoped>
90-
.federation-actions__btn {
91-
&::v-deep p {
92-
width: 150px !important;
93-
padding: 8px 0 !important;
94-
color: var(--color-main-text) !important;
95-
font-size: 12.8px !important;
96-
line-height: 1.5em !important;
97-
}
98-
}
99-
10089
.federation-actions__btn--active {
10190
background-color: var(--color-primary-element-light) !important;
10291
box-shadow: inset 2px 0 var(--color-primary-element) !important;
92+
border-radius: 0px !important;
10393
}
10494
</style>

dist/settings-vue-settings-personal-info.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/settings-vue-settings-personal-info.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)