Skip to content
This repository was archived by the owner on Nov 15, 2021. It is now read-only.
This repository was archived by the owner on Nov 15, 2021. It is now read-only.

The Inscrybmde editor is inaccessible to screen readers #67

Open
@Flameborn

Description

@Flameborn

This is not so much of a Typegram issue, but rather an external one with the editor. I'm raising this for discussion, as I am not entirely sure what would be the best solution here.

Blind and visually impaired users sadly cannot use Inscrybmde, due to the fact that it modifies the textarea to have just the currently edited line in it. The rest is included via a p or a div, as far as I can tell. They also catch keyboard events, to focus the particular section below, which preloads the textarea, to my best knowledge.

This is not new, a lot of editors do this, however, the problem is that screen readers cannot track where the cursor is, since it is handled by JS focus events.

For the last week or so, I've been looking at textarea replacements, and none of them seem to have the same functionality, or they are visually worse, e.g. no full screen mode, etc, which is an integral part of Typegram. Another issue is that most of them are licensed under GPL, which is incompatible with us.

I could definitely make a custom template, with some MIT-licensed JS to live-preview markdown, and to print out some stats, like word count, paragraph count, etc, however there would be no toolbar for Markdown functions. While this would work, it would be quite hard to work on something, as the two user bases (blind and sighted) would expect to have their own editor.

Maybe we could have an editor value for users, and a way to toggle between them via the settings page. I definitely do not want two templates, where only the editor would be different, as this is quite unnecessary.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions