-
Notifications
You must be signed in to change notification settings - Fork 33
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
edit: Add 2 applicability examples #346
Changes from 2 commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -296,6 +296,19 @@ Even concepts like headings and images can be misunderstood. These terms could r | |
</blockquote> | ||
</div> | ||
|
||
<div class=example> | ||
<p>**Example:** The applicability of a rule with the page as a test target</a></p> | ||
<blockquote> | ||
<p>The rule applies to any page where the document element is an `html` element not embedded in another page, for example as part of an `iframe` or `object`.</p> | ||
</blockquote> | ||
</div> | ||
|
||
<div class=example> | ||
<p>**Example:** The applicability of a rule with a DOM attribute as a test target</a></p> | ||
<blockquote> | ||
<p>Any `role` attribute that is specified on an HTML or SVG element.</p> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I suggest changing "Any --> "The rule applies to any any ... to align better with the other example. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @WilcoFiers, is "HTML element" and "SVG element" unambiguous enough for this example in light of our discussion yesterday on whether HTML element meant "element in the HTML namespace", "listed in the HTML specification" or "has its semantics defined in the HTML specification"? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think so. We can maybe have another pass on the examples when we're closer to Rec, make sure they are fully current to our writing style. For now, I think this is fine. |
||
</blockquote> | ||
</div> | ||
|
||
### Applicability for Composite Rules ### {#applicability-composite} | ||
|
||
|
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.
Is it the
document element
that is not to be embedded in another page?That is how I read the sentence. I don't know if that is technically correct though. I hope you developer guys do know :)
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 sounds a bit confusing to me: sometimes a page can be both standalone and embedded in a (possibly third-party) iframe…
Maybe we could refer to WCAG's Web Page definition instead?
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.
or alternatively we could use HTML's browsing context terminology (see active document and top-level browsing context), but this may gets too technical.
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.
Suggestion: