Skip to content

SIRvb's Image Adjustments uses alt text to apply css classes, reducing accessibilty #36

Description

@MasssiveJuice08

The syntax of SIRvb's Image Adjustments CSS Snippet uses Markdown embedded image alt text to apply CSS classes to images. The basic principle is the same as Obsidian-flavored-Markdown's syntax for resizing images.

By occupying the alt text field, it prevents us from applying actual alt text to images. Alt text has many benefits:

  • alt text is useful for displaying an image description if the image cannot load for any reason
  • it enables sight-impaired persons to read the image description using a screenreader (don't tell me no one is going to make Morrowind accessible to sight-impaired persons. I'd bet money someone in the future makes this possible in OpenMW)
  • it improves website SEO by telling sitecrawlers what an image is.

This could possibly be resolved by making a provision for two alt text fields for images; one that gets read as CSS classes, and another as alt text.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions