-
Notifications
You must be signed in to change notification settings - Fork 364
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Infrastructure: Add special Treatment of Examples Marked 'Experimental' #2977
Merged
Merged
Changes from 8 commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
754b240
Add experimental content (issue 2836)
alflennik 7f418ef
Fix formatting for sample experimental content
alflennik 4910303
Relabel experimental usage warning
alflennik 2c2869c
Add required attribute for experimental content
alflennik c5171aa
Merge branch 'main' into experimental-content
stalgiag 9ee1942
Remove experimental placeholder data
stalgiag d4e4c32
Only render experimental examples section when experimental examples …
stalgiag e793398
Remove the link to experimental examples section when no experimental…
stalgiag 166b9fc
Merge remote-tracking branch 'origin/main' into experimental-content
mcking65 29dcab3
Editorial revisions to experimental content warning.update coverage r…
mcking65 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains 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
This file contains 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
30 changes: 30 additions & 0 deletions
30
content/shared/templates/experimental-example-usage-warning.html
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<meta charset="utf-8"> | ||
<title>Experimental Support Notice (Template)</title> | ||
<body> | ||
<h2 id="support-notice-header">Read This First</h2> | ||
<details id="support-notice" open> | ||
<summary> | ||
The code in this example is experimental and should therefore be considered incomplete, potentially unreliable and subject to change without notice. | ||
Please read below to understand why. | ||
</summary> | ||
<p>This is an experimental example of one way of using ARIA that may or may not conform with the current ARIA specification.</p> | ||
<ul> | ||
<li>Experimental content is not final and is published to facilitate discussion and gather feedback, but it should not considered as authoritative as other content in the ARIA Authoring Practices Guide.</li> | ||
<li> | ||
There may be support gaps in some | ||
<a href="../../practices/read-me-first/read-me-first-practice.html#browser_and_AT_support">browser and assistive technology combinations</a>, | ||
especially for | ||
<a href="../../practices/read-me-first/read-me-first-practice.html#mobile_and_touch_support">mobile/touch devices</a>. | ||
Testing code based on this example with assistive technologies is essential before considering use in production systems. | ||
</li> | ||
<li>The <a href="https://aria-at.w3.org">ARIA and Assistive Technologies Project</a> is developing measurements of assistive technology support for APG examples.</li> | ||
<li> | ||
Robust accessibility can be further optimized by choosing implementation patterns that <a href="https://www.w3.org/TR/using-aria/#rule1">maximize use of semantic HTML</a> and heeding the warning that | ||
<a href="../../practices/read-me-first/read-me-first-practice.html#no_aria_better_bad_aria">No ARIA is better than Bad ARIA</a>. | ||
</li> | ||
</ul> | ||
</details> | ||
</body> | ||
</html> |
This file contains 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
This file contains 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
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems that the
cheerio.remove()
leaves a blank line behind. Reviewers can let me know if I should find an alternate solution for removal.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This seems like a small enough detail that shouldn't affect anything, so it can be ignored, but thanks for pointing that out!