Skip to content

Accessibility issue: untranslated button label #1083

@scoutb-cogapp

Description

@scoutb-cogapp

UV version: universalviewer@4.0.25

I'm submitting a: bug report => please fork one of these codesandbox examples with a repro of your issue and include a link to it below

Page area

close button on the attribution notice

Issue description

When switching to a different language, most buttons are translated. However, the close button on the attribution notice box has been left in English

Steps to reproduce

  1. open this manifest
  2. switch language away from English
  3. investigate the close button for the attribution box with devtools and observe that the aria-label is still in English

Expected behaviour

Interface is fully localised to any chosen language

Possible fix

Translate the aria-label and ensure it is included in the language switch functionality

WCAG criterion

3.1.2 Language of Parts (Level AA)

Related code example

<button type="button" class="close" aria-label="Close"><span aria-hidden="true">×</span></button>

Metadata

Metadata

Type

No type

Projects

Status

Community Sprint COMPLETED

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions