Skip to content

Commit b7d3d1c

Browse files
authored
fix(info): use externalDocsUrl check to render Link (#6997)
* fixes screen reader accessibility issue
1 parent 482dea8 commit b7d3d1c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/components/info.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ export default class Info extends React.Component {
148148

149149
{contact && contact.size ? <Contact getComponent={getComponent} data={ contact } selectedServer={selectedServer} url={url} /> : null }
150150
{license && license.size ? <License getComponent={getComponent} license={ license } selectedServer={selectedServer} url={url}/> : null }
151-
{ externalDocs ?
151+
{ externalDocsUrl ?
152152
<Link className="info__extdocs" target="_blank" href={sanitizeUrl(externalDocsUrl)}>{externalDocsDescription || externalDocsUrl}</Link>
153153
: null }
154154

0 commit comments

Comments
 (0)