Audit and fix HTML list structures across codebase#310
Draft
Audit and fix HTML list structures across codebase#310
Conversation
Co-authored-by: cycomachead <1505907+cycomachead@users.noreply.github.com>
Co-authored-by: cycomachead <1505907+cycomachead@users.noreply.github.com>
Co-authored-by: cycomachead <1505907+cycomachead@users.noreply.github.com>
Co-authored-by: cycomachead <1505907+cycomachead@users.noreply.github.com>
Co-authored-by: cycomachead <1505907+cycomachead@users.noreply.github.com>
Move non-<li> elements (div tags) into appropriate <li> elements to comply with HTML5 list structure requirements. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Move non-<li> elements (div, img tags) into appropriate <li> elements to comply with HTML5 list structure requirements. Fixed files in: - 2-gossip-and-greet/old - 3-drawing/old - 3-drawing/semi-old - old/4-modularity-and-abstraction Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Move non-<li> elements (div, img tags) into appropriate <li> elements to comply with HTML5 list structure requirements. Fixed files in: - 1-variables-games/old - 2-data-structures-art - 5-copyrights/very old - 6-optional-projects and subdirectories - old subdirectories Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Move non-<li> elements (div, img tags) into appropriate <li> elements to comply with HTML5 list structure requirements. Fixed files in: - 1-abstraction - 2-contact-list - 3-tic-tac-toe - 5-work Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Move non-<li> elements (div tags) into appropriate <li> elements to comply with HTML5 list structure requirements. Fixed files in: - unit-4-vocab (English and Spanish) - 1-reliable-communication - 2-cybersecurity Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Move ap-standard div inside li elements in unit-5-exam-reference files. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Wrap sidenote and table inside li element in unit-6-self-check.es.html. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Move sidenote divs and img elements inside li elements in fromU3-managing-list-data files. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Move img element inside li element in 1-choosing-a-project files. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Move ap-standard divs and img elements inside li elements in data-processing.html and quiz-app.html. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
- Move div elements inside li tags in overview.html - Move sidenote div inside li tag in general-support/discussion.html - Move img tag inside li tag in lab-pages/2-gossip.html Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
- Move todo div elements inside li tags in 1-variables-games.html Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
- Move todo div inside li tag in 2-contact-list.html - Move todo div and img inside li tags in 6-optional-projects.html Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
- Move todo divs and img inside li tags in 1-algorithms.html - Move todo div inside li tag in 3-turning-data-information.html - Move commentBig div inside li tag in 6-tic-tac-toe.html Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
- Move img tag inside li tag in 1-computer-abstraction-hierarchy.html Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
- Move img and todo div inside li tags in 1-trees-in-a-forest.html Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Move div tags from between ul/ol and li tags into appropriate li elements: - 3-tic-tac-toe/2-checking-for-a-win.html: moved endnote div inside li - 3-tic-tac-toe/3-checking-for-ties.html: moved sidenoteBig div inside li - 4-robots-ai/4-breakthroughs-possibilities.html: moved endnote div inside li - 6-optional-projects/2-animation-studio.html: moved endnote div inside li - 6-optional-projects/3-op-art.html: moved todo div inside li, moved comment div inside nested li - 6-optional-projects/4-music-project.html: moved sidenote and endnote divs inside li elements All changes maintain proper HTML list structure without divs between list and item tags. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Move div elements inside li tags in: - 3-community (5 files) - 4-representation-compression (4 files) - X-gps-data (2 files) - optional-projects (3 files) Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Move div elements inside li tags in: - 1-searching-lists (6 files) - 2-simulation (2 files) - 3-turning-data-information (1 file) Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Move div elements inside li tags in: - optional-projects (1 file) Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Audit code base to ensure proper HTML lists
Audit and fix HTML list structures across codebase
Feb 15, 2026
Contributor
|
@copilot The following pages also seem to not pass the audit: |
Co-authored-by: cycomachead <1505907+cycomachead@users.noreply.github.com>
Author
Fixed all 16 files. The issue was |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
HTML List Structure Audit - Additional Fixes ✅
Fixed additional HTML validation issue:
<ul>and<ol>elements cannot be inside<p>tags.Summary of Additional Work
Total Files Fixed: 16 more files
Issue Fixed
Block-level elements like
<ul>and<ol>cannot be inside<p>tags per HTML5 specification. The fix was to close the<p>tag before the list and continue after if needed.Before:
After:
Files Fixed by Unit
Sparks U1: 9 files across L3, L4, L5, L6, L7
Sparks U2: 5 files across L1, L2, L3, L4
Sparks U3: 1 file (L4)
Sparks U4: 1 file (L2)
All issues flagged in the WCAG 2.0 accessibility check have been resolved.
Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.