Skip to content

Commit

Permalink
Merge pull request #9179 from scratchfoundation/hotfix/mit-accessibil…
Browse files Browse the repository at this point in the history
…ity-link

Hotfix: MIT Accessibility link
  • Loading branch information
cwillisf authored Jan 29, 2025
2 parents 18b0994 + 1ea4dd5 commit 80e0884
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/components/footer/www/footer.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,11 @@ const Footer = props => (
<FormattedMessage id="general.dsa" />
</a>
</dd>
<dd>
<a href="https://accessibility.mit.edu/">
<FormattedMessage id="general.mitAccessibility" />
</a>
</dd>
</dl>

<dl>
Expand Down
1 change: 1 addition & 0 deletions src/l10n.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@
"general.learnMore": "Learn More",
"general.male": "Male",
"general.messages": "Messages",
"general.mitAccessibility": "MIT Accessibility",
"general.month": "Month",
"general.monthJanuary": "January",
"general.monthFebruary": "February",
Expand Down
7 changes: 7 additions & 0 deletions test/integration/footer-links.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,13 @@ describe('www-integration footer links', () => {
const pocTextVisible = await pocText.isDisplayed();
expect(pocTextVisible).toBeTruthy();
});

test('click MIT Accessibility link', async () => {
await clickText('MIT Accessibility');
await waitUntilDocumentReady();
const url = await driver.getCurrentUrl();
expect(url).toBe('https://accessibility.mit.edu/');
});
});

// The following links in the footer are skipped because they are not part of scratch-www
Expand Down

0 comments on commit 80e0884

Please sign in to comment.