Skip to content

Metadata Labels - Review use of label tag outside of form (viewMode) #6109

@mheppler

Description

@mheppler

In the dataset summary section of the dataset pg, there are label tags used to display the metadata labels, but these are considered "orphaned form labels" by accessibility tools as they are outside of a form (see WAVE alerts for the dataset pg in screenshot below).

Screen Shot 2019-08-21 at 1 30 35 PM

This can be easily fix by switching out those UI components to something more appropriate when the page is in viewMode and displays metadata labels. Another place you can find the label tag used outside of a form is in metadataFragment.xhtml which is used in both viewMode and editMode. The same fix can be applied here, but the dynamic nature of the code will be a challenge, to find a solution for both workflows.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Feature: AccessibilityAccessibility is the practice of making your websites usable by as many people as possible.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions