asbjornenge / asbjornenge/react-datalist

accessibility

Open
#25 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
JavaScript
Stars
43
Forks
17
PR merge metrics
No merged PRs in 30d

Description

Wish I had time to write a pr and perhaps I'll get a chance later but for now:
Adding the combobox role then a few aria tags the following link has an example
https://www.w3.org/TR/wai-aria/roles#combobox

Also as an aside I know 200 is a small timeout and the chances are probably low of it not firing before the component unmounted but you should save a reference and clear the timeout on componentWillUnmount.

I ended up making my own. Mostly because I needed more control over styling and text-masking but having your example made it go way faster. Thanks for having this up.

Contributor guide

No contributing guide indexed for this repository

Research direction

Read the linked WAI-ARIA combobox guidance, then inspect the repository's datalist component and its timeout lifecycle. Done means the component exposes the requested combobox semantics and ARIA attributes, and the timeout is safely handled when the component unmounts.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, react
Domain
accessibility, frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.