Skip to content

lang attribute on Download button sometimes empty on Form detail pages #20079

Open
@laflannery

Description

@laflannery

Description

Martha sent this over from the latest AMP scans:

On the Download buttons on form detail pages, sometimes there is an empty lang attribute and it's being flagged in AMP. This is the tool VA looks at to determine their accessibility so it would be good to get this cleaned up.

Examples of pages we found where the lang is empty:

Screenshot:
Image

Pages we found where the lang is en:

Screenshot:
Image

Additional information

  • lang didn't used to be required (although it now is).
  • This should encompass English, Spanish, and Tagalog
  • Kevin Reid confirmed today that the Forms DB does not have a field for form language. So adding form info will be manual data entry in Drupal.

Acceptance criteria

  • Download buttons do not have an empty 'lang' attribute
    • Note that the two in the Description are examples and not an exhaustive list
  • Accessibility review

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

CMS frontendCMS team practice areaNeeds refiningIssue statusPublic WebsitesScrum team in the Sitewide crewVA.gov frontendCMS team practice areaa11y-defect-4Trivial accessibility issue that should be fixed in the next 2-4 sprintsaccessibilityIssues related to accessibilitysitewide

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions