-
Notifications
You must be signed in to change notification settings - Fork 317
Rephrase inline code elements #4623
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
Open
kfranqueiro
wants to merge
38
commits into
main
Choose a base branch
from
kgf-rephrase-inline-code
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 32 commits
Commits
Show all changes
38 commits
Select commit
Hold shift + click to select a range
24bbfdc
Update techniques/server-side-script/SVR5.html
patrickhlauke d1cac15
Update techniques/aria/ARIA21.html
patrickhlauke ce166d9
Update techniques/aria/ARIA21.html
patrickhlauke ba5ebc3
Update techniques/aria/ARIA21.html
patrickhlauke e7725c2
Update techniques/aria/ARIA23.html
patrickhlauke 96181d8
Update techniques/aria/ARIA22.html
patrickhlauke cd46c0b
Update techniques/client-side-script/SCR38.html
patrickhlauke 434e8b7
Update techniques/aria/ARIA23.html
patrickhlauke c741cab
Update techniques/aria/ARIA24.html
patrickhlauke 8c39ac1
Update techniques/client-side-script/SCR35.html
patrickhlauke 41ca52c
Update techniques/css/C18.html
patrickhlauke 4e823e3
Update techniques/css/C27.html
patrickhlauke e065c42
Update techniques/css/C28.html
patrickhlauke bfcd1ba
Update techniques/css/C28.html
patrickhlauke 7a7fe95
Update techniques/failures/F2.html
patrickhlauke 08316d9
Update techniques/css/C6.html
patrickhlauke 7625755
Update techniques/failures/F38.html
patrickhlauke a69f601
Update techniques/failures/F41.html
patrickhlauke 95dcf18
Update techniques/failures/F41.html
patrickhlauke a8be753
Update techniques/failures/F89.html
patrickhlauke 9307b53
Update techniques/failures/F92.html
patrickhlauke 42e8227
Update techniques/flash/FLASH25.html
patrickhlauke 16d3c34
Update techniques/html/H4.html
patrickhlauke 164db2a
Update techniques/html/H30.html
patrickhlauke ad0daf4
Update techniques/html/H4.html
patrickhlauke 1a0d995
Update techniques/html/H4.html
patrickhlauke 40eccb8
Update techniques/html/H4.html
patrickhlauke 85a680a
Update techniques/html/H60.html
patrickhlauke d42754b
Update techniques/html/H73.html
patrickhlauke 1e56c6c
Update techniques/html/H76.html
patrickhlauke 31ec1d1
Update techniques/html/H99.html
patrickhlauke 5c74851
Fix syntax of first meta http-equiv in F40
kfranqueiro 66021e3
Update techniques/aria/ARIA23.html
mbgower a9edb13
Update techniques/failures/F38.html
mbgower df02908
Update techniques/flash/FLASH25.html
mbgower 303eed8
Update techniques/flash/FLASH25.html
mbgower 6529337
Update techniques/html/H4.html
mbgower 5537b7f
Update techniques/html/H4.html
mbgower 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 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,8 +8,8 @@ | |
</ul> | ||
<div class="note"><p>One of the above two situations may be true for a field which has programmatically associated label and / or instructions that conveys data format, a data range, or the <code>required</code> property.</p></div> | ||
<p>While it is always preferable to programmatically associate specific error description with the failed field, the page's design or the framework employed may sometimes constrain the author's ability to do so. In these cases, authors may programmatically set <code>aria-invalid</code> to <code>"true"</code> on the fields that have failed validation. This is interpretable mainly by assistive technologies (like screen readers / screen magnifiers) employed by users who are vision impaired. When a field has <code>aria-invalid</code> set to “true”, VoiceOver in Safari announces <samp>invalid</samp> data when the field gets focus; JAWS and NVDA notify the error as an <samp>invalid entry</samp>.</p> | ||
<p>This ARIA attribute has to be set / turned on programmatically. It should not be set to “true” before input validation is performed or the form is submitted. Setting <code>aria-invalid</code> to “false” is the same as not placing the attribute for the form control at all. Quite understandably, nothing is conveyed by assistive technology to users in this case.</p> | ||
<p>When visible text is used to programmatically identify a failed field and / or convey how the error can be corrected, setting <code>aria-invalid</code> to "true" is not required from a strict compliance standpoint but may still provide helpful information for users.</p> | ||
<p>This ARIA attribute has to be set / turned on programmatically. It should not be set to “true” before input validation is performed or the form is submitted. Setting <code>aria-invalid</code> to <code>"false"</code> is the same as not placing the attribute for the form control at all. Quite understandably, nothing is conveyed by assistive technology to users in this case.</p> | ||
<p>When visible text is used to programmatically identify a failed field and / or convey how the error can be corrected, setting <code>aria-invalid</code> to <code>"true"</code> is not required from a strict compliance standpoint but may still provide helpful information for users.</p> | ||
</section><section id="examples"><h2>Examples</h2> | ||
<section class="example"> | ||
<h3>Using aria-invalid on required fields</h3> | ||
|
@@ -64,7 +64,7 @@ <h3>Using aria-invalid on required fields</h3> | |
<section class="example"> | ||
<h3>Identifying errors in data format</h3> | ||
|
||
<p><code>Aria-invalid</code> and <code>aria-describedby</code> are used together to indicate an error when the personal identification number (PIN), email address, or start date are not in the expected format. The error message is associated with the field using <code>aria-describedby</code>, and <code>aria-invalid</code> makes it easier to programmatically find fields with errors.</p> | ||
<p><code>aria-invalid</code> and <code>aria-describedby</code> are used together to indicate an error when the personal identification number (PIN), email address, or start date are not in the expected format. The error message is associated with the field using <code>aria-describedby</code>, and <code>aria-invalid</code> makes it easier to programmatically find fields with errors.</p> | ||
<p>Below is the rendered HTML code for the email address field in Example 1: When an invalid email address is entered by the user such as "samexample.com" (instead of [email protected]), the HTML code is:</p> | ||
<pre xml:space="preserve"><code class="language-html"><div class="control"> | ||
<div> | ||
|
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
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
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
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
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
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
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
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
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
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
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.
Uh oh!
There was an error while loading. Please reload this page.