Skip to content

Commit

Permalink
up
Browse files Browse the repository at this point in the history
  • Loading branch information
panaC committed Oct 27, 2022
1 parent 0ea66b2 commit ce0a121
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -197,13 +197,13 @@ export class PublicationInfoA11y extends React.Component<IProps, IState> {
const AccessibilityConformsTo = (() => {

if (!(Array.isArray(a11y_conformsTo) && a11y_conformsTo[0])) return undefined;
return <li>{a11y_conformsTo[0]}</li>;
return <a href={a11y_conformsTo[0]}>{a11y_conformsTo[0]}</a>;
})();

const AccessibilityConformanceReport = (() => {

if (!(Array.isArray(a11y_certifierReport) && a11y_certifierReport[0])) return undefined;
return <li>{a11y_certifierReport[0]}</li>; // url !?
return <a href={a11y_certifierReport[0]}>{a11y_certifierReport[0]}</a>;
})();

return (AccessModeSufficient || AccessibilityHazard) ? <>
Expand Down

0 comments on commit ce0a121

Please sign in to comment.