mirror of https://github.com/portainer/portainer
fix(ui): add accessibility labels to access control fieldset (#11439)
parent
b0e3afa0b6
commit
8e480c9fab
|
@ -32,7 +32,7 @@
|
||||||
ng-if="$ctrl.formData.AccessControlEnabled && $ctrl.formData.Ownership === $ctrl.RCO.RESTRICTED && ($ctrl.isAdmin || (!$ctrl.isAdmin && $ctrl.availableTeams.length > 1))"
|
ng-if="$ctrl.formData.AccessControlEnabled && $ctrl.formData.Ownership === $ctrl.RCO.RESTRICTED && ($ctrl.isAdmin || (!$ctrl.isAdmin && $ctrl.availableTeams.length > 1))"
|
||||||
>
|
>
|
||||||
<div class="vertical-center w-full">
|
<div class="vertical-center w-full">
|
||||||
<label for="group-access" class="control-label col-sm-3 col-lg-2 !pt-0 text-left">
|
<label for="teams-selector" class="control-label col-sm-3 col-lg-2 !pt-0 text-left">
|
||||||
Authorized teams
|
Authorized teams
|
||||||
<portainer-tooltip
|
<portainer-tooltip
|
||||||
ng-if="$ctrl.isAdmin && $ctrl.availableTeams.length > 0"
|
ng-if="$ctrl.isAdmin && $ctrl.availableTeams.length > 0"
|
||||||
|
@ -63,7 +63,7 @@
|
||||||
<!-- authorized-users -->
|
<!-- authorized-users -->
|
||||||
<div class="form-group" ng-if="$ctrl.formData.AccessControlEnabled && $ctrl.formData.Ownership === $ctrl.RCO.RESTRICTED && $ctrl.isAdmin">
|
<div class="form-group" ng-if="$ctrl.formData.AccessControlEnabled && $ctrl.formData.Ownership === $ctrl.RCO.RESTRICTED && $ctrl.isAdmin">
|
||||||
<div class="vertical-center w-full">
|
<div class="vertical-center w-full">
|
||||||
<label for="group-access" class="control-label col-sm-3 col-lg-2 !pt-0 text-left">
|
<label for="users-selector" class="control-label col-sm-3 col-lg-2 !pt-0 text-left">
|
||||||
Authorized users
|
Authorized users
|
||||||
<portainer-tooltip
|
<portainer-tooltip
|
||||||
ng-if="$ctrl.isAdmin && $ctrl.availableUsers.length > 0"
|
ng-if="$ctrl.isAdmin && $ctrl.availableUsers.length > 0"
|
||||||
|
|
Loading…
Reference in New Issue