fix: #3611423 FieldStorageReuseForm aria-label "Reuse" vs visible "Re-use"

Closes #3611423

The "Re-use" button in the re-use field form had the accessible name "Reuse @field_name", which doesn't contain the visible label (WCAG 2.5.3 Label in Name). It is now "Re-use @field_name".

FieldUiTestTrait::fieldUIAddExistingField() now checks that the button's aria-label starts with the visible label, so every test that re-uses a field covers it.

Merge request reports

Loading
Loading