Skip to content

Remove jQuery from Techniques#4981

Open
fstrr wants to merge 10 commits intomainfrom
remove-jquery-from-working-examples
Open

Remove jQuery from Techniques#4981
fstrr wants to merge 10 commits intomainfrom
remove-jquery-from-working-examples

Conversation

@fstrr
Copy link
Contributor

@fstrr fstrr commented Mar 7, 2026

ARIA 19

  1. Removed jQuery
  2. Add autocomplete attributes
  3. Removed 404 resource link
  4. Removed old editors CSS link
  5. Added code tags
  6. Updated the list of errors to use a list instead of 3 paragraphs

Also:
1. Add `autocomplete` attributes
2. Removed 404 resource link
3. Removed old editors CSS link
4. Added `code` tags
5. Updated the list of errors to use a list instead of 3 paragraphs
@fstrr fstrr marked this pull request as draft March 7, 2026 00:35
@netlify
Copy link

netlify bot commented Mar 7, 2026

Deploy Preview for wcag2 ready!

Name Link
🔨 Latest commit 66741e3
🔍 Latest deploy log https://app.netlify.com/projects/wcag2/deploys/69b1eea6b6f33a00086e0315
😎 Deploy Preview https://deploy-preview-4981--wcag2.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@fstrr fstrr self-assigned this Mar 9, 2026
fstrr added 2 commits March 10, 2026 14:25
1. removed the jQuery and rewrote using vanilla JavaScript
2. Removed several unused functions
3. simplified the date validity field
4. added a replacement image for the one that was missing
5. removed an unnecessary `alert` role
6. moved explanatory content to the technique
7. removed out of date assistive technology information
@fstrr
Copy link
Contributor Author

fstrr commented Mar 10, 2026

Identifying Errors In Data Format example

  1. removed the jQuery and rewrote using vanilla JavaScript
  2. removed several unused functions
  3. simplified the date validity field
  4. added a replacement image for the one that was missing
  5. removed an unnecessary alert role
  6. moved explanatory content to the technique
  7. removed out of date assistive technology information

fstrr added 7 commits March 10, 2026 18:12
1. removed jQuery
2. added CSS
3. removed the `focus` functionality for the error message—there’s no point in having a live region with that present
4. added `autocomplete` attributes
5. removed the empty `h2` element
6. moved the error message inside the form
7. slightly tweaked the content of the error message
1. Remove outdated content
2. Update examples to add `autocomplete` attributes
3. Updated resource links
4. Split the example code into separate `pre` blocks
1. remove jquery
2. add `viewport`
3. update css to use modern positioning
4. add `inert` attribute
@fstrr
Copy link
Contributor Author

fstrr commented Mar 11, 2026

ARIA21

  1. Remove outdated content
  2. Update examples to add autocomplete attributes
  3. Updated resource links
  4. Split the example code into separate pre blocks

@fstrr
Copy link
Contributor Author

fstrr commented Mar 11, 2026

ARIA18

Updated HTML snippet to use updated working example code

Working example:

  1. remove jquery
  2. add viewport
  3. update css to use modern positioning
  4. add inert attribute

@patrickhlauke
Copy link
Member

Moved this back into "In progress", as this will likely need considerable untangling once #4980 lands (possibly to the point where it might be quicker to just redo the PR as a fresh one)

@patrickhlauke
Copy link
Member

out of interest, i did try a naive "rebase this against the other branch from #4980" but it ended up with merge conflicts all over the shop... so it may indeed be easier to just do a fresh PR that only touches the jquery stuff and nothing else, cleanly. may have a go at it tomorrow...

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants