diff --git a/core/modules/content_moderation/src/Form/ContentModerationConfigureForm.php b/core/modules/content_moderation/src/Form/ContentModerationConfigureForm.php index 011b3ee94b373cbdf00b69464c697d3bcf6fed73..f9520b65ace324526aae3b8272031326251f0eb2 100644 --- a/core/modules/content_moderation/src/Form/ContentModerationConfigureForm.php +++ b/core/modules/content_moderation/src/Form/ContentModerationConfigureForm.php @@ -110,7 +110,6 @@ public function buildConfigurationForm(array $form, FormStateInterface $form_sta 'title' => $this->t('Select'), 'url' => Url::fromRoute('content_moderation.workflow_type_edit_form', ['workflow' => $workflow->id(), 'entity_type_id' => $entity_type->id()]), 'attributes' => [ - 'aria-label' => $this->t('Select'), 'class' => ['use-ajax'], 'data-dialog-type' => 'modal', 'data-dialog-options' => Json::encode([ diff --git a/core/modules/workflows/src/Form/WorkflowEditForm.php b/core/modules/workflows/src/Form/WorkflowEditForm.php index 47e0b0315beeee44a3ad8bdd6cb1bfeef51177f0..889b7bbfedbee10a84055a5d3b78d3b97bb5426d 100644 --- a/core/modules/workflows/src/Form/WorkflowEditForm.php +++ b/core/modules/workflows/src/Form/WorkflowEditForm.php @@ -115,7 +115,6 @@ public function form(array $form, FormStateInterface $form_state) { 'edit' => [ 'title' => $this->t('Edit'), 'url' => Url::fromRoute('entity.workflow.edit_state_form', ['workflow' => $workflow->id(), 'workflow_state' => $state->id()]), - 'attributes' => ['aria-label' => $this->t('Edit @state state', ['@state' => $state->label()])], ] ]; if ($this->entity->access('delete-state:' . $state->id())) { @@ -125,7 +124,6 @@ public function form(array $form, FormStateInterface $form_state) { 'workflow' => $workflow->id(), 'workflow_state' => $state->id() ]), - 'attributes' => ['aria-label' => $this->t('Delete @state state', ['@state' => $state->label()])], ]; } $form['states_container']['states'][$state->id()] = [ @@ -178,12 +176,10 @@ public function form(array $form, FormStateInterface $form_state) { $links['edit'] = [ 'title' => $this->t('Edit'), 'url' => Url::fromRoute('entity.workflow.edit_transition_form', ['workflow' => $workflow->id(), 'workflow_transition' => $transition->id()]), - 'attributes' => ['aria-label' => $this->t('Edit \'@transition\' transition', ['@transition' => $transition->label()])], ]; $links['delete'] = [ 'title' => t('Delete'), 'url' => Url::fromRoute('entity.workflow.delete_transition_form', ['workflow' => $workflow->id(), 'workflow_transition' => $transition->id()]), - 'attributes' => ['aria-label' => $this->t('Delete \'@transition\' transition', ['@transition' => $transition->label()])], ]; $form['transitions_container']['transitions'][$transition->id()] = [ '#attributes' => ['class' => ['draggable']],