Skip to content

Option to add aria attributes to links #142

@mor-david

Description

@mor-david

Bug report

Summary

When adding a link to content, there is no way to add an aria-label to describe the link for screen readers and other assistive technology.

Step to reproduce

Select 'Insert -> Link' from the editor menu

Expected behavior

The European Accessibility Act (EAA) emphasises clear navigation and accessible content for people with disabilities, including screen reader users. Many links, especially icon-only links or ambiguous "Click here" types, are not understandable out of context. An aria-label provides a clear, accessible description.

Because of this, it would be beneficial to have the option to add an aria-label when adding a link to the content of a resource.

To improve this further, it would be great to have this as a dropdown so the end user could choose which element best matches their needs. A dropdown made up of the following

  • aria-label
  • aria-labelledby
  • aria-describedby
  • aria-hidden

Environment

MODX 2.8.7-pl, TinyMceRTE 2.0.9-pl.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions