-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
26 changed files
with
114 additions
and
41 deletions.
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
4 changes: 2 additions & 2 deletions
4
html/semantics/forms/the-fieldset-element/accessibility/aria-manual.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 |
---|---|---|
@@ -1,7 +1,7 @@ | ||
<!doctype html> | ||
<title>fieldset accessibility test: ARIA</title> | ||
<div role=group aria-labelledby=legend> | ||
<div id=fieldset role=group aria-labelledby=legend> | ||
<div id=legend>Foo</div> | ||
<input> | ||
</div> | ||
<p>Expected accessible name: "Foo" | ||
<p>Expected accessible name for id=fieldset: "Foo" |
5 changes: 3 additions & 2 deletions
5
html/semantics/forms/the-fieldset-element/accessibility/baseline-manual.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 |
---|---|---|
@@ -1,7 +1,8 @@ | ||
<!doctype html> | ||
<title>fieldset accessibility test: baseline</title> | ||
<fieldset> | ||
<link rel=help href=https://w3c.github.io/html-aam/#fieldset-element-accessible-name-computation> | ||
<fieldset id=fieldset> | ||
<legend>Foo</legend> | ||
<input> | ||
</fieldset> | ||
<p>Expected accessible name: "Foo" | ||
<p>Expected accessible name for id=fieldset: "Foo" |
5 changes: 3 additions & 2 deletions
5
html/semantics/forms/the-fieldset-element/accessibility/fieldset-appearance-none-manual.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 |
---|---|---|
@@ -1,10 +1,11 @@ | ||
<!doctype html> | ||
<title>fieldset accessibility test: fieldset -webkit-appearance: none</title> | ||
<link rel=help href=https://w3c.github.io/html-aam/#fieldset-element-accessible-name-computation> | ||
<style> | ||
fieldset { -webkit-appearance: none; } | ||
</style> | ||
<fieldset> | ||
<fieldset id=fieldset> | ||
<legend>Foo</legend> | ||
<input> | ||
</fieldset> | ||
<p>Expected accessible name: "Foo" | ||
<p>Expected accessible name for id=fieldset: "Foo" |
5 changes: 3 additions & 2 deletions
5
.../semantics/forms/the-fieldset-element/accessibility/fieldset-display-contents-manual.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 |
---|---|---|
@@ -1,10 +1,11 @@ | ||
<!doctype html> | ||
<title>fieldset accessibility test: fieldset display: contents</title> | ||
<link rel=help href=https://w3c.github.io/html-aam/#fieldset-element-accessible-name-computation> | ||
<style> | ||
fieldset { display: contents; } | ||
</style> | ||
<fieldset> | ||
<fieldset id=fieldset> | ||
<legend>Foo</legend> | ||
<input> | ||
</fieldset> | ||
<p>Expected accessible name: "Foo" | ||
<p>Expected accessible name for id=fieldset: "Foo" |
11 changes: 11 additions & 0 deletions
11
html/semantics/forms/the-fieldset-element/accessibility/fieldset-display-none-manual.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,11 @@ | ||
<!doctype html> | ||
<title>fieldset accessibility test: fieldset display: none</title> | ||
<link rel=help href=https://w3c.github.io/html-aam/#fieldset-element-accessible-name-computation> | ||
<style> | ||
fieldset { display: none; } | ||
</style> | ||
<fieldset id=fieldset> | ||
<legend>Foo</legend> | ||
<input> | ||
</fieldset> | ||
<p>Expected no accessible node for id=fieldset. |
5 changes: 3 additions & 2 deletions
5
...antics/forms/the-fieldset-element/accessibility/fieldset-div-display-contents-manual.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 |
---|---|---|
@@ -1,12 +1,13 @@ | ||
<!doctype html> | ||
<title>fieldset accessibility test: fieldset div display: contents</title> | ||
<link rel=help href=https://w3c.github.io/html-aam/#fieldset-element-accessible-name-computation> | ||
<style> | ||
div { display: contents; } | ||
</style> | ||
<fieldset> | ||
<fieldset id=fieldset> | ||
<div> | ||
<legend>Foo</legend> | ||
<input> | ||
</div> | ||
</fieldset> | ||
<p>Expected accessible name: "" | ||
<p>Expected accessible name for id=fieldset: "" |
5 changes: 3 additions & 2 deletions
5
html/semantics/forms/the-fieldset-element/accessibility/fieldset-role-none-manual.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 |
---|---|---|
@@ -1,7 +1,8 @@ | ||
<!doctype html> | ||
<title>fieldset accessibility test: fieldset role=none</title> | ||
<fieldset role=none> | ||
<link rel=help href=http://w3c.github.io/aria/#none> | ||
<fieldset id=fieldset role=none> | ||
<legend>Foo</legend> | ||
<input> | ||
</fieldset> | ||
<p>Expected no accessible node for the fieldset. | ||
<p>Expected no accessible node for id=fieldset. |
7 changes: 4 additions & 3 deletions
7
...semantics/forms/the-fieldset-element/accessibility/fieldset-role-presentation-manual.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 |
---|---|---|
@@ -1,7 +1,8 @@ | ||
<!doctype html> | ||
<title>fieldset accessibility test: fieldset role=none</title> | ||
<fieldset role=presentation> | ||
<title>fieldset accessibility test: fieldset role=presentation</title> | ||
<link rel=help href=http://w3c.github.io/aria/#presentation> | ||
<fieldset id=fieldset role=presentation> | ||
<legend>Foo</legend> | ||
<input> | ||
</fieldset> | ||
<p>Expected no accessible node for the fieldset. | ||
<p>Expected no accessible node for id=fieldset. |
11 changes: 11 additions & 0 deletions
11
...mantics/forms/the-fieldset-element/accessibility/fieldset-visibility-collapse-manual.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,11 @@ | ||
<!doctype html> | ||
<title>fieldset accessibility test: fieldset visibility: collapse</title> | ||
<link rel=help href=https://w3c.github.io/html-aam/#fieldset-element-accessible-name-computation> | ||
<style> | ||
fieldset { visibility: collapse; } | ||
</style> | ||
<fieldset id=fieldset> | ||
<legend>Foo</legend> | ||
<input> | ||
</fieldset> | ||
<p>Expected no accessible node for id=fieldset. |
12 changes: 12 additions & 0 deletions
12
...semantics/forms/the-fieldset-element/accessibility/fieldset-visibility-hidden-manual.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,12 @@ | ||
<!doctype html> | ||
<title>fieldset accessibility test: fieldset visibility: hidden</title> | ||
<link rel=help href=https://w3c.github.io/html-aam/#fieldset-element-accessible-name-computation> | ||
<style> | ||
fieldset { visibility: hidden; } | ||
legend, input { visibility: visible; } | ||
</style> | ||
<fieldset id=fieldset> | ||
<legend>Foo</legend> | ||
<input> | ||
</fieldset> | ||
<p>Expected no accessible node for id=fieldset. |
5 changes: 3 additions & 2 deletions
5
html/semantics/forms/the-fieldset-element/accessibility/flexbox-manual.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 |
---|---|---|
@@ -1,12 +1,13 @@ | ||
<!doctype html> | ||
<title>fieldset accessibility test: flexbox</title> | ||
<link rel=help href=https://w3c.github.io/html-aam/#fieldset-element-accessible-name-computation> | ||
<style> | ||
fieldset { display: flex; } | ||
legend { float: left; flex: auto; } | ||
input { display: block; flex: auto; } | ||
</style> | ||
<fieldset> | ||
<fieldset id=fieldset> | ||
<legend>Foo</legend> | ||
<input> | ||
</fieldset> | ||
<p>Expected accessible name: "Foo" | ||
<p>Expected accessible name for id=fieldset: "Foo" |
5 changes: 3 additions & 2 deletions
5
html/semantics/forms/the-fieldset-element/accessibility/grid-manual.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 |
---|---|---|
@@ -1,11 +1,12 @@ | ||
<!doctype html> | ||
<title>fieldset accessibility test: grid</title> | ||
<link rel=help href=https://w3c.github.io/html-aam/#fieldset-element-accessible-name-computation> | ||
<style> | ||
fieldset { display: grid; grid-template-columns: auto auto; } | ||
legend { float: left; } | ||
</style> | ||
<fieldset> | ||
<fieldset id=fieldset> | ||
<legend>Foo</legend> | ||
<input> | ||
</fieldset> | ||
<p>Expected accessible name: "Foo" | ||
<p>Expected accessible name for id=fieldset: "Foo" |
5 changes: 3 additions & 2 deletions
5
html/semantics/forms/the-fieldset-element/accessibility/legend-abspos-manual.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 |
---|---|---|
@@ -1,10 +1,11 @@ | ||
<!doctype html> | ||
<title>fieldset accessibility test: position: absolute legend</title> | ||
<link rel=help href=https://w3c.github.io/html-aam/#fieldset-element-accessible-name-computation> | ||
<style> | ||
legend { position: absolute; } | ||
</style> | ||
<fieldset> | ||
<fieldset id=fieldset> | ||
<legend>Foo</legend> | ||
<input> | ||
</fieldset> | ||
<p>Expected accessible name: "Foo" | ||
<p>Expected accessible name for id=fieldset: "Foo" |
5 changes: 3 additions & 2 deletions
5
.../semantics/forms/the-fieldset-element/accessibility/legend-child-display-none-manual.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 |
---|---|---|
@@ -1,10 +1,11 @@ | ||
<!doctype html> | ||
<title>fieldset accessibility test: legend child display: none</title> | ||
<link rel=help href=https://w3c.github.io/html-aam/#fieldset-element-accessible-name-computation> | ||
<style> | ||
legend > span { display: none; } | ||
</style> | ||
<fieldset> | ||
<fieldset id=fieldset> | ||
<legend>Foo<span>Bar</span></legend> | ||
<input> | ||
</fieldset> | ||
<p>Expected accessible name: "Foo" | ||
<p>Expected accessible name for id=fieldset: "Foo" |
5 changes: 3 additions & 2 deletions
5
...ntics/forms/the-fieldset-element/accessibility/legend-child-visibility-hidden-manual.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 |
---|---|---|
@@ -1,10 +1,11 @@ | ||
<!doctype html> | ||
<title>fieldset accessibility test: legend visibility: hidden</title> | ||
<link rel=help href=https://w3c.github.io/html-aam/#fieldset-element-accessible-name-computation> | ||
<style> | ||
legend > span { visibility: hidden; } | ||
</style> | ||
<fieldset> | ||
<fieldset id=fieldset> | ||
<legend>Foo<span>Bar</span></legend> | ||
<input> | ||
</fieldset> | ||
<p>Expected accessible name: "Foo" | ||
<p>Expected accessible name for id=fieldset: "Foo" |
5 changes: 3 additions & 2 deletions
5
html/semantics/forms/the-fieldset-element/accessibility/legend-display-contents-manual.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 |
---|---|---|
@@ -1,10 +1,11 @@ | ||
<!doctype html> | ||
<title>fieldset accessibility test: legend display: contents</title> | ||
<link rel=help href=https://w3c.github.io/html-aam/#fieldset-element-accessible-name-computation> | ||
<style> | ||
legend { display: contents; } | ||
</style> | ||
<fieldset> | ||
<fieldset id=fieldset> | ||
<legend>Foo</legend> | ||
<input> | ||
</fieldset> | ||
<p>Expected accessible name: "Foo" | ||
<p>Expected accessible name for id=fieldset: "Foo" |
5 changes: 3 additions & 2 deletions
5
html/semantics/forms/the-fieldset-element/accessibility/legend-display-none-manual.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 |
---|---|---|
@@ -1,10 +1,11 @@ | ||
<!doctype html> | ||
<title>fieldset accessibility test: legend display: none</title> | ||
<link rel=help href=https://w3c.github.io/html-aam/#fieldset-element-accessible-name-computation> | ||
<style> | ||
legend { display: none; } | ||
</style> | ||
<fieldset> | ||
<fieldset id=fieldset> | ||
<legend>Foo</legend> | ||
<input> | ||
</fieldset> | ||
<p>Expected accessible name: "" | ||
<p>Expected accessible name for id=fieldset: "" |
5 changes: 3 additions & 2 deletions
5
html/semantics/forms/the-fieldset-element/accessibility/legend-float-manual.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 |
---|---|---|
@@ -1,10 +1,11 @@ | ||
<!doctype html> | ||
<title>fieldset accessibility test: floating legend</title> | ||
<link rel=help href=https://w3c.github.io/html-aam/#fieldset-element-accessible-name-computation> | ||
<style> | ||
legend { float: left; } | ||
</style> | ||
<fieldset> | ||
<fieldset id=fieldset> | ||
<legend>Foo</legend> | ||
<input> | ||
</fieldset> | ||
<p>Expected accessible name: "Foo" | ||
<p>Expected accessible name for id=fieldset: "Foo" |
3 changes: 2 additions & 1 deletion
3
html/semantics/forms/the-fieldset-element/accessibility/legend-role-group-manual.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 |
---|---|---|
@@ -1,7 +1,8 @@ | ||
<!doctype html> | ||
<title>fieldset accessibility test: legend role=group aria-labelledby=fieldset</title> | ||
<link rel=help href=https://w3c.github.io/html-aam/#fieldset-element-accessible-name-computation> | ||
<fieldset id=fieldset> | ||
<legend role=group aria-labelledby=fieldset>Foo</legend> | ||
<input> | ||
</fieldset> | ||
<p>Expected accessible name: "" | ||
<p>Expected accessible name for id=fieldset: "" |
11 changes: 11 additions & 0 deletions
11
...semantics/forms/the-fieldset-element/accessibility/legend-visibility-collapse-manual.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,11 @@ | ||
<!doctype html> | ||
<title>fieldset accessibility test: legend visibility: collapse</title> | ||
<link rel=help href=https://w3c.github.io/html-aam/#fieldset-element-accessible-name-computation> | ||
<style> | ||
legend { visibility: collapse; } | ||
</style> | ||
<fieldset id=fieldset> | ||
<legend>Foo</legend> | ||
<input> | ||
</fieldset> | ||
<p>Expected accessible name for id=fieldset: "" |
5 changes: 3 additions & 2 deletions
5
html/semantics/forms/the-fieldset-element/accessibility/legend-visibility-hidden-manual.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 |
---|---|---|
@@ -1,10 +1,11 @@ | ||
<!doctype html> | ||
<title>fieldset accessibility test: legend visibility: hidden</title> | ||
<link rel=help href=https://w3c.github.io/html-aam/#fieldset-element-accessible-name-computation> | ||
<style> | ||
legend { visibility: hidden; } | ||
</style> | ||
<fieldset> | ||
<fieldset id=fieldset> | ||
<legend>Foo</legend> | ||
<input> | ||
</fieldset> | ||
<p>Expected accessible name: "" | ||
<p>Expected accessible name for id=fieldset: "" |
6 changes: 4 additions & 2 deletions
6
html/semantics/forms/the-fieldset-element/accessibility/multiple-legends-manual.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 |
---|---|---|
@@ -1,8 +1,10 @@ | ||
<!doctype html> | ||
<title>fieldset accessibility test: multiple legends</title> | ||
<fieldset> | ||
<link rel=help href=https://w3c.github.io/html-aam/#fieldset-element-accessible-name-computation> | ||
<fieldset id=fieldset> | ||
<div></div> | ||
<legend>Foo</legend> | ||
<legend>Bar</legend> | ||
<input> | ||
</fieldset> | ||
<p>Expected accessible name: "Foo" | ||
<p>Expected accessible name for id=fieldset: "Foo" |
8 changes: 8 additions & 0 deletions
8
html/semantics/forms/the-fieldset-element/accessibility/role-manual.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,8 @@ | ||
<!doctype html> | ||
<title>fieldset accessibility test: role</title> | ||
<fieldset id=fieldset> | ||
<legend id=legend>Foo</legend> | ||
<input> | ||
</fieldset> | ||
<p>Expected accessible role for id=fieldset: "group" | ||
<p>Expected accessible role for id=legend: No corresponding role |
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
5 changes: 3 additions & 2 deletions
5
...ics/forms/the-fieldset-element/accessibility/title-attribute-and-empty-legend-manual.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 |
---|---|---|
@@ -1,7 +1,8 @@ | ||
<!doctype html> | ||
<title>fieldset accessibility test: title attribute and empty legend</title> | ||
<fieldset title="Foo"> | ||
<link rel=help href=https://w3c.github.io/html-aam/#fieldset-element-accessible-name-computation> | ||
<fieldset id=fieldset title="Foo"> | ||
<legend></legend> | ||
<input> | ||
</fieldset> | ||
<p>Expected accessible name: "Foo" | ||
<p>Expected accessible name for id=fieldset: "Foo" |