FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

WCAG compliance: feather.replace() does not allow adding desc blocks to svgs · Issue #1294 · feathericons/feather · GitHub

WCAG compliance: feather.replace() does not allow adding desc blocks to svgs #1294

Description

In order to conform to WCAG 2.1, SVGs must be written as:

<svg>
  <desc>example description</desc>
</svg>

or, if the SVG is purely decorative:

<svg aria-hidden="true">
</svg>

https://www.w3.org/wiki/SVG_Accessibility/Authoring#Nested_decription

Currently, using feather.replace() on a document does not have any way to add those elements to the resulting icons.

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


    Back | FazBrowse Home | New Git URL