Skip to content

Commit

Permalink
Merge pull request #506 from w3c/daniel-montalvo/issue502
Browse files Browse the repository at this point in the history
4.1.1 Parsing Example - should have "(ADDED)" notation in it
  • Loading branch information
maryjom authored Sep 9, 2024
2 parents 5b7f2e6 + 022676c commit 0afadc3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion comments-by-guideline-and-success-criterion.md
Original file line number Diff line number Diff line change
Expand Up @@ -1118,7 +1118,7 @@ This success criterion would be satisfied in cases where:
* Non-web documents or software are not authored using a markup language.
* Non-web documents or software are authored using a markup language, but accessibility information is exposed via platform accessibility APIs, not by making the markup itself available to assistive technologies.
</div>
<div class="example">
<div class="example wcag2ict">

Examples where 4.1.1 Parsing would be satisfied:

Expand Down
3 changes: 1 addition & 2 deletions wcag2ict.js
Original file line number Diff line number Diff line change
Expand Up @@ -307,8 +307,7 @@ function furtherProcessNotesAndExamples() {
})
let wcag2ictExamples = document.querySelectorAll("div.example.wcag2ict");
wcag2ictExamples.forEach(example => {
example.textContent =example.textContent.replace("\n\nExample:", "\n\nExample (Added):");
console.log(example.textContent)
example.innerHTML = example.innerHTML.replace("Example:", "Example (Added):");
})
}
function finalCleanup() {
Expand Down

0 comments on commit 0afadc3

Please sign in to comment.