Skip to content

fix: preserve zero-valued neighboring thumb ARIA bounds - #210

Open
feritcemkahraman wants to merge 1 commit into
tajo:mainfrom
feritcemkahraman:fix/zero-thumb-aria-bounds
Open

feritcemkahraman wants to merge 1 commit into
tajo:mainfrom
feritcemkahraman:fix/zero-thumb-aria-bounds

Conversation

@feritcemkahraman

Copy link
Copy Markdown

With values [-5, 0, 5] and global limits -10 to 10, the outer thumbs announce an ARIA maximum/minimum of 10/-10 even though the adjacent thumb limits each to 0.

Use nullish fallback for adjacent values so zero remains a valid accessibility bound. Added regressions for both bounds, outer endpoints and allowOverlap.

Validation: both zero-bound regressions failed before the fix; all 17 unit tests, TypeScript, full ESLint and TypeScript package compilation pass, with four additional assertions against the compiled entry point. Windows checkout line endings were normalized locally for lint. The POSIX packaging cleanup wrapper and Playwright browser suite were not run.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant