Ionaru / Ionaru/easy-markdown-editor

Markdown editor toolbar buttons defaults to tabIndex=-1

Open
#587 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
3.1k
Forks
363
PR merge metrics
No merged PRs in 30d

Description

**Is your feature request related to a problem? Please describe.**

Due an accessibility report, we've saw that the current version doesn't support change tabindex="-1" to "0". Currently behaviour removes removes the element from the navigation sequence.

**Describe the solution you'd like**

Wondering if would be possible to expose the tabindex attribute programmatically. Also want to understand the reasons to fix that in the code.

**Describe alternatives you've considered**

We can make it manually focusable using javascript, but would be easier just setting the tabindex. Thanks in advance for the review.

Reference in code:

```
el.tabIndex = -1;
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.