Skip to content

Styling refactor for links on hover for Assets Page of Profile Section #3934

@runningonsideprojects

Description

@runningonsideprojects

Increasing Access

This could continue to make the editor comply to WCAG accessibility guidelines, ensuring that the editor stays accessible to as much users as possible.

Feature enhancement details

Issue Description

This specific subissue requests to add an underline for all hyperlinked elements, and a thicker underline for hyperlinks on hover.

Accessibility guidelines indicate that link texts need to be indicated with more than just color difference, and the most common best practice is to underline them.

Location of the requested changes on the editor: https://editor.p5js.org/{username}/assets

Change Requested

  • Add an underline text decoration for all hyperlinks
  • set the underline thickness to 0.1 em for hyperlinks on hover.

Visuals

Image

Files to change

  • client/styles/components/_asset-list.scss
  • In the class .asset-table__row, specify an underline text decoration
  • Add a class called .asset-table__row a: hover and increase the underline thickness on hover. See the class .sketches-table__row a:hover in sketch-list.scss for reference.

PR Criteria

Additional Resources:

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area:AccessibilityCategory for accessibility related features and bugsEnhancementImprovement to an existing feature

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions