diff --git a/core/modules/quickedit/src/MetadataGenerator.php b/core/modules/quickedit/src/MetadataGenerator.php index 3c8e221..1de5fc6 100644 --- a/core/modules/quickedit/src/MetadataGenerator.php +++ b/core/modules/quickedit/src/MetadataGenerator.php @@ -92,7 +92,6 @@ public function generateFieldMetadata(FieldItemListInterface $items, $view_mode) 'label' => $label, 'access' => TRUE, 'editor' => $editor_id, - 'aria' => t('Entity !type !id, field !field', array('!type' => $entity->getEntityTypeId(), '!id' => $entity->id(), '!field' => $label)), ); $custom_metadata = $editor->getMetadata($items); if (count($custom_metadata)) { diff --git a/core/modules/quickedit/src/Tests/MetadataGeneratorTest.php b/core/modules/quickedit/src/Tests/MetadataGeneratorTest.php index a48890a..9fd47bc 100644 --- a/core/modules/quickedit/src/Tests/MetadataGeneratorTest.php +++ b/core/modules/quickedit/src/Tests/MetadataGeneratorTest.php @@ -107,7 +107,6 @@ public function testSimpleEntityType() { 'access' => TRUE, 'label' => 'Plain text field', 'editor' => 'plain_text', - 'aria' => 'Entity entity_test 1, field Plain text field', ); $this->assertEqual($expected_1, $metadata_1, 'The correct metadata is generated for the first field.'); @@ -118,7 +117,6 @@ public function testSimpleEntityType() { 'access' => TRUE, 'label' => 'Simple number field', 'editor' => 'form', - 'aria' => 'Entity entity_test 1, field Simple number field', ); $this->assertEqual($expected_2, $metadata_2, 'The correct metadata is generated for the second field.'); } @@ -177,7 +175,6 @@ public function testEditorWithCustomMetadata() { 'access' => TRUE, 'label' => 'Rich text field', 'editor' => 'wysiwyg', - 'aria' => 'Entity entity_test 1, field Rich text field', 'custom' => array( 'format' => 'full_html' ),