medialize / medialize/ally.js

which elements are editable/writable/mutable?

Open
#87 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

research
Dominant language
JavaScript
Stars
1.6k
Forks
82
PR merge metrics
No merged PRs in 30d

Description

The question is if we can safely identify "user alterable" elements, i.e. elements that accept keyboard input, e.g. <input>, [contenteditable], user-modify: read-write; as CSS Selectors Level 4's :read-write suggests.

This would allow us to provide is/mutable, which could power a new option filterMutable: true for ally.when.key to prevent key bindings for a to execute while the user is typing in an <input> element.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the proposed is/mutable behavior and the ally.when.key entry point, then compare input elements, [contenteditable], user-modify: read-write, and the Selectors Level 4 :read-write definition. Done means safely identifying user-alterable elements and defining how filterMutable: true prevents key bindings while typing.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
accessibility, frontend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
28/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.