Skip to content
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: 2 additions & 0 deletions lib/reporter.js
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,7 @@ const addAnyField = (error) =>
});

function recordPage(
prefix,
url,
label,
startTime,
Expand Down Expand Up @@ -191,6 +192,7 @@ function recordPage(
violations: axeResults.violations,
time: elapsed[0] + elapsed[1] / 1000000000,
screenshotFile,
prefix,
url,
label,
order: index,
Expand Down
1 change: 1 addition & 0 deletions lib/testUrls.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ async function testPage({ page, data, worker }) {
);

recordPage(
prefix,
url,
label,
startTime,
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@patternfly/patternfly-a11y",
"version": "4.3.0",
"version": "4.3.1",
"description": "Accessibility utilities for PatternFly.",
"scripts": {
"test": "node cli.js --prefix http://localhost:9000 --file ~/src/gatsby-theme-patternfly-org/patternfly-org-demo/.cache/fullscreenPages.json",
Expand Down
2 changes: 1 addition & 1 deletion report/dist/bundle.js

Large diffs are not rendered by default.

26 changes: 12 additions & 14 deletions report/src/app/DataListItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,17 @@ const DataListItemInternal = ({
</a>
</DataListCell>
);
const urlCell = (
<DataListCell key={`url-${key}`} width={2}>
<a
href={`${val.prefix}${val.url}`}
target="_blank"
onClick={(e) => e.stopPropagation()}
>
<span id={`url-${key}`}>{val.url}</span>
</a>
</DataListCell>
);
const shouldToggle = () => {
if (numIssues > 0) {
toggle(key);
Expand All @@ -59,21 +70,8 @@ const DataListItemInternal = ({
<DataListItemCells
key={`cells-${key}`}
dataListCells={[
// <DataListCell
// key={`order-${key}`}
// style={{ cursor: cursorStyle, maxWidth: "80px" }}
// >
// <span id={`order-${key}`}>{val.order}</span>
// </DataListCell>,
<DataListCell
width={2}
key={`url-${key}`}
style={{ cursor: cursorStyle }}
>
<span id={`url-${key}`}>{val.url}</span>
</DataListCell>,
urlCell,
<DataListCell
// width={2}
key={`label-${key}`}
style={{ cursor: cursorStyle }}
>
Expand Down