Skip to content
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

Fixes #1121 - General accessibility fixes #1169

Merged
merged 3 commits into from
Sep 4, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/clay-collapse/demos/a11y.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
</style>
</head>
<body role="main">
<h1>Clay Collapseget</h1>
<h1>Clay Collapse</h1>

<div>
<button aria-controls="collapseExample-01" class="btn btn-primary" data-toggle="collapse">Read more &raquo;</button>
Expand Down
2 changes: 1 addition & 1 deletion packages/clay-collapse/demos/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
</style>
</head>
<body role="main">
<h1>Clay Collapseget</h1>
<h1>Clay Collapse</h1>

<div class="container-fluid">
<div class="row">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -431,11 +431,11 @@ <h4 class="component-title">
<span class="sticker sticker-danger">PNG</span>
</div>
<div class="autofit-col autofit-col-expand">
<h4 class="table-list-title">
<h1 class="table-list-title">
<span class="text-truncate-inline">
<span class="text-truncate" title="Wings eu, pumpkin spice robusta, kopi-luwak mocha caffeine froth grounds.">Wings eu, pumpkin spice robusta, kopi-luwak mocha caffeine froth grounds.</span>
</span>
</h4>
</h1>
</div>
</div>
</td>
Expand Down Expand Up @@ -534,11 +534,11 @@ <h4 class="table-list-title">
<span class="sticker sticker-circle sticker-danger">MT</span>
</div>
<div class="autofit-col autofit-col-expand">
<h4 class="table-list-title">
<h1 class="table-list-title">
<a class="text-truncate-inline" href="#1">
<span class="text-truncate" title="Publication Title">Publication Title</span>
</a>
</h4>
</h1>
</div>
</div>
</td>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2219,11 +2219,11 @@ exports[`ClayDatasetDisplay should render a ClayDatasetDisplay and change view o
</div>
</td>
<td class="table-cell-expand">
<h4 class="table-list-title">
<h1 class="table-list-title">
<span class="text-truncate-inline">
<span class="text-truncate">Photos</span>
</span>
</h4>
</h1>
</td>
<td>
<span class="text-truncate"></span>
Expand Down Expand Up @@ -2254,11 +2254,11 @@ exports[`ClayDatasetDisplay should render a ClayDatasetDisplay and change view o
</div>
</td>
<td class="table-cell-expand">
<h4 class="table-list-title">
<h1 class="table-list-title">
<span class="text-truncate-inline">
<span class="text-truncate">Videos</span>
</span>
</h4>
</h1>
</td>
<td>
<span class="text-truncate"></span>
Expand Down Expand Up @@ -2292,11 +2292,11 @@ exports[`ClayDatasetDisplay should render a ClayDatasetDisplay and change view o
</div>
</td>
<td class="table-cell-expand">
<h4 class="table-list-title">
<h1 class="table-list-title">
<span class="text-truncate-inline">
<span class="text-truncate">Hamburger</span>
</span>
</h4>
</h1>
</td>
<td>
<span class="text-truncate">U.S.A</span>
Expand Down Expand Up @@ -2331,11 +2331,11 @@ exports[`ClayDatasetDisplay should render a ClayDatasetDisplay and change view o
</div>
</td>
<td class="table-cell-expand">
<h4 class="table-list-title">
<h1 class="table-list-title">
<span class="text-truncate-inline">
<span class="text-truncate">Ramen</span>
</span>
</h4>
</h1>
</td>
<td>
<span class="text-truncate">China</span>
Expand Down Expand Up @@ -2370,11 +2370,11 @@ exports[`ClayDatasetDisplay should render a ClayDatasetDisplay and change view o
</div>
</td>
<td class="table-cell-expand">
<h4 class="table-list-title">
<h1 class="table-list-title">
<span class="text-truncate-inline">
<span class="text-truncate">Paella</span>
</span>
</h4>
</h1>
</td>
<td>
<span class="text-truncate">Spain</span>
Expand Down Expand Up @@ -2409,11 +2409,11 @@ exports[`ClayDatasetDisplay should render a ClayDatasetDisplay and change view o
</div>
</td>
<td class="table-cell-expand">
<h4 class="table-list-title">
<h1 class="table-list-title">
<span class="text-truncate-inline">
<span class="text-truncate">Pizza</span>
</span>
</h4>
</h1>
</td>
<td>
<span class="text-truncate">Italy</span>
Expand Down Expand Up @@ -2448,11 +2448,11 @@ exports[`ClayDatasetDisplay should render a ClayDatasetDisplay and change view o
</div>
</td>
<td class="table-cell-expand">
<h4 class="table-list-title">
<h1 class="table-list-title">
<span class="text-truncate-inline">
<span class="text-truncate">Carcamusas</span>
</span>
</h4>
</h1>
</td>
<td>
<span class="text-truncate">Toledo</span>
Expand Down Expand Up @@ -2487,11 +2487,11 @@ exports[`ClayDatasetDisplay should render a ClayDatasetDisplay and change view o
</div>
</td>
<td class="table-cell-expand">
<h4 class="table-list-title">
<h1 class="table-list-title">
<span class="text-truncate-inline">
<span class="text-truncate">Tacos</span>
</span>
</h4>
</h1>
</td>
<td>
<span class="text-truncate">Mexico</span>
Expand Down Expand Up @@ -2529,11 +2529,11 @@ exports[`ClayDatasetDisplay should render a ClayDatasetDisplay and change view o
</div>
</td>
<td class="table-cell-expand">
<h4 class="table-list-title">
<h1 class="table-list-title">
<span class="text-truncate-inline">
<span class="text-truncate">Ferrán Adriá</span>
</span>
</h4>
</h1>
</td>
<td>
<span class="text-truncate"></span>
Expand Down Expand Up @@ -2564,11 +2564,11 @@ exports[`ClayDatasetDisplay should render a ClayDatasetDisplay and change view o
</div>
</td>
<td class="table-cell-expand">
<h4 class="table-list-title">
<h1 class="table-list-title">
<span class="text-truncate-inline">
<span class="text-truncate">Gordon Ramsay</span>
</span>
</h4>
</h1>
</td>
<td>
<span class="text-truncate"></span>
Expand Down Expand Up @@ -2599,11 +2599,11 @@ exports[`ClayDatasetDisplay should render a ClayDatasetDisplay and change view o
</div>
</td>
<td class="table-cell-expand">
<h4 class="table-list-title">
<h1 class="table-list-title">
<span class="text-truncate-inline">
<span class="text-truncate">Alberto Chicote</span>
</span>
</h4>
</h1>
</td>
<td>
<span class="text-truncate"></span>
Expand Down Expand Up @@ -6004,11 +6004,11 @@ exports[`ClayDatasetDisplay should render a ClayDatasetDisplay with items and li
</div>
</td>
<td class="table-cell-expand">
<h4 class="table-list-title">
<h1 class="table-list-title">
<span class="text-truncate-inline">
<span class="text-truncate">Photos</span>
</span>
</h4>
</h1>
</td>
<td>
<span class="text-truncate"></span>
Expand Down Expand Up @@ -6039,11 +6039,11 @@ exports[`ClayDatasetDisplay should render a ClayDatasetDisplay with items and li
</div>
</td>
<td class="table-cell-expand">
<h4 class="table-list-title">
<h1 class="table-list-title">
<span class="text-truncate-inline">
<span class="text-truncate">Videos</span>
</span>
</h4>
</h1>
</td>
<td>
<span class="text-truncate"></span>
Expand Down Expand Up @@ -6077,11 +6077,11 @@ exports[`ClayDatasetDisplay should render a ClayDatasetDisplay with items and li
</div>
</td>
<td class="table-cell-expand">
<h4 class="table-list-title">
<h1 class="table-list-title">
<span class="text-truncate-inline">
<span class="text-truncate">Hamburger</span>
</span>
</h4>
</h1>
</td>
<td>
<span class="text-truncate">U.S.A</span>
Expand Down Expand Up @@ -6116,11 +6116,11 @@ exports[`ClayDatasetDisplay should render a ClayDatasetDisplay with items and li
</div>
</td>
<td class="table-cell-expand">
<h4 class="table-list-title">
<h1 class="table-list-title">
<span class="text-truncate-inline">
<span class="text-truncate">Ramen</span>
</span>
</h4>
</h1>
</td>
<td>
<span class="text-truncate">China</span>
Expand Down Expand Up @@ -6155,11 +6155,11 @@ exports[`ClayDatasetDisplay should render a ClayDatasetDisplay with items and li
</div>
</td>
<td class="table-cell-expand">
<h4 class="table-list-title">
<h1 class="table-list-title">
<span class="text-truncate-inline">
<span class="text-truncate">Paella</span>
</span>
</h4>
</h1>
</td>
<td>
<span class="text-truncate">Spain</span>
Expand Down Expand Up @@ -6194,11 +6194,11 @@ exports[`ClayDatasetDisplay should render a ClayDatasetDisplay with items and li
</div>
</td>
<td class="table-cell-expand">
<h4 class="table-list-title">
<h1 class="table-list-title">
<span class="text-truncate-inline">
<span class="text-truncate">Pizza</span>
</span>
</h4>
</h1>
</td>
<td>
<span class="text-truncate">Italy</span>
Expand Down Expand Up @@ -6233,11 +6233,11 @@ exports[`ClayDatasetDisplay should render a ClayDatasetDisplay with items and li
</div>
</td>
<td class="table-cell-expand">
<h4 class="table-list-title">
<h1 class="table-list-title">
<span class="text-truncate-inline">
<span class="text-truncate">Carcamusas</span>
</span>
</h4>
</h1>
</td>
<td>
<span class="text-truncate">Toledo</span>
Expand Down Expand Up @@ -6272,11 +6272,11 @@ exports[`ClayDatasetDisplay should render a ClayDatasetDisplay with items and li
</div>
</td>
<td class="table-cell-expand">
<h4 class="table-list-title">
<h1 class="table-list-title">
<span class="text-truncate-inline">
<span class="text-truncate">Tacos</span>
</span>
</h4>
</h1>
</td>
<td>
<span class="text-truncate">Mexico</span>
Expand Down Expand Up @@ -6314,11 +6314,11 @@ exports[`ClayDatasetDisplay should render a ClayDatasetDisplay with items and li
</div>
</td>
<td class="table-cell-expand">
<h4 class="table-list-title">
<h1 class="table-list-title">
<span class="text-truncate-inline">
<span class="text-truncate">Ferrán Adriá</span>
</span>
</h4>
</h1>
</td>
<td>
<span class="text-truncate"></span>
Expand Down Expand Up @@ -6349,11 +6349,11 @@ exports[`ClayDatasetDisplay should render a ClayDatasetDisplay with items and li
</div>
</td>
<td class="table-cell-expand">
<h4 class="table-list-title">
<h1 class="table-list-title">
<span class="text-truncate-inline">
<span class="text-truncate">Gordon Ramsay</span>
</span>
</h4>
</h1>
</td>
<td>
<span class="text-truncate"></span>
Expand Down Expand Up @@ -6384,11 +6384,11 @@ exports[`ClayDatasetDisplay should render a ClayDatasetDisplay with items and li
</div>
</td>
<td class="table-cell-expand">
<h4 class="table-list-title">
<h1 class="table-list-title">
<span class="text-truncate-inline">
<span class="text-truncate">Alberto Chicote</span>
</span>
</h4>
</h1>
</td>
<td>
<span class="text-truncate"></span>
Expand Down
2 changes: 1 addition & 1 deletion packages/clay-isomorphic/fixtures/expected/ClayTable.row
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<tr><td class="table-cell-expand"><h4 class="table-list-title"><span class="text-truncate-inline"><span class="text-truncate">null</span></span></h4></td></tr>
<tr><td class="table-cell-expand"><h1 class="table-list-title"><span class="text-truncate-inline"><span class="text-truncate">null</span></span></h1></td></tr>
4 changes: 2 additions & 2 deletions packages/clay-label/demos/a11y.html
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ <h2>Label with link</h2>
new metal.ClayLabel(
{
label: 'Label text',
href: '#1'
href: '#link-block'
},
'#link-block'
);
Expand All @@ -146,7 +146,7 @@ <h2>Label with link</h2>
{
label: 'Label text',
size: 'lg',
href: '#1'
href: '#link-block'
},
'#link-block'
);
Expand Down
4 changes: 2 additions & 2 deletions packages/clay-label/demos/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ <h2>Label with link</h2>
new metal.ClayLabel(
{
label: 'Label text',
href: '#1'
href: '#link-block'
},
'#link-block'
);
Expand All @@ -146,7 +146,7 @@ <h2>Label with link</h2>
{
label: 'Label text',
size: 'lg',
href: '#1'
href: '#link-block'
},
'#link-block'
);
Expand Down
Loading