Skip to content

Fix jQuery 4 iteration and lines accessibility label - #97

Open
dajiaohuang wants to merge 1 commit into
davatron5000:masterfrom
dajiaohuang:fix-jquery4-and-aria-label
Open

dajiaohuang wants to merge 1 commit into
davatron5000:masterfrom
dajiaohuang:fix-jquery4-and-aria-label

Conversation

@dajiaohuang

@dajiaohuang dajiaohuang commented Sep 22, 2026

Copy link
Copy Markdown

Fixes #95 and fixes #96.

The split array is iterated with the static jQuery each helper, avoiding jQuery 4's array-to-HTML coercion for character content that begins with < and ends with >. Lines mode now removes its internal break sentinel from the parent aria-label after injection.

Validation: node --check jquery.lettering.js; dependency-free focused harness covering jQuery-4-style character input and lines aria-label output; git diff --check.

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.

lettering() loses text with jQuery 4 when text starts with < and ends with > lines mode includes its internal split sentinel in aria-label

1 participant