From 9fc613f1690e28f3a9a934a9c34d9eda5c1d8920 Mon Sep 17 00:00:00 2001 From: Matthew Brookes Date: Sun, 8 Dec 2019 13:42:10 +0000 Subject: [PATCH 01/11] [docs] Use empty alt text for decorative images, add aria-label to themes link --- docs/pages/index.js | 6 +----- docs/src/modules/components/HomeFooter.js | 2 +- docs/src/modules/components/HomeSteps.js | 3 ++- 3 files changed, 4 insertions(+), 7 deletions(-) diff --git a/docs/pages/index.js b/docs/pages/index.js index bd38b27bdf62fe..5678100bf260e0 100644 --- a/docs/pages/index.js +++ b/docs/pages/index.js @@ -117,11 +117,7 @@ export default function HomePage() {
- Material-UI Logo +
- Material-UI Logo + Material-UI
diff --git a/docs/src/modules/components/HomeSteps.js b/docs/src/modules/components/HomeSteps.js index 6e58f0c9715fec..791ad385ff0971 100644 --- a/docs/src/modules/components/HomeSteps.js +++ b/docs/src/modules/components/HomeSteps.js @@ -199,11 +199,12 @@ function HomeSteps(props) { data-ga-event-action="click" data-ga-event-label="home-image" className={classes.link} + aria-label={t('themesButton')} > themes Date: Sun, 8 Dec 2019 14:11:10 +0000 Subject: [PATCH 02/11] [docs] Remove empty ul from footer --- docs/src/modules/components/HomeFooter.js | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/docs/src/modules/components/HomeFooter.js b/docs/src/modules/components/HomeFooter.js index 58768443b3185f..5aa81260372ff2 100644 --- a/docs/src/modules/components/HomeFooter.js +++ b/docs/src/modules/components/HomeFooter.js @@ -56,13 +56,13 @@ function HomeFooter(props) {
- +
Material-UI
- + {t('footerCommunity')} @@ -97,7 +97,7 @@ function HomeFooter(props) { - + {t('footerResources')} @@ -119,9 +119,6 @@ function HomeFooter(props) { - -
    - Date: Sun, 8 Dec 2019 14:24:24 +0000 Subject: [PATCH 03/11] [docs] Fix homepage heading hierarchy --- docs/src/modules/components/HomeFooter.js | 4 ++-- docs/src/modules/components/HomeUsers.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/src/modules/components/HomeFooter.js b/docs/src/modules/components/HomeFooter.js index 5aa81260372ff2..65e45148ceac99 100644 --- a/docs/src/modules/components/HomeFooter.js +++ b/docs/src/modules/components/HomeFooter.js @@ -63,7 +63,7 @@ function HomeFooter(props) {
- + {t('footerCommunity')}
    @@ -98,7 +98,7 @@ function HomeFooter(props) {
- + {t('footerResources')}
    diff --git a/docs/src/modules/components/HomeUsers.js b/docs/src/modules/components/HomeUsers.js index 0c5ba33e20fd2f..4809f06f03c8ef 100644 --- a/docs/src/modules/components/HomeUsers.js +++ b/docs/src/modules/components/HomeUsers.js @@ -87,7 +87,7 @@ function HomeUsers(props) { - + {t('whosUsing')} From e34a9999f0f38844625327048a6b18da908cb76b Mon Sep 17 00:00:00 2001 From: Matthew Brookes Date: Sun, 8 Dec 2019 14:36:16 +0000 Subject: [PATCH 04/11] [docs] Fix backer alt text --- docs/src/modules/components/backers.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/src/modules/components/backers.md b/docs/src/modules/components/backers.md index 2307b02953ebcf..82cede26bc2b78 100644 --- a/docs/src/modules/components/backers.md +++ b/docs/src/modules/components/backers.md @@ -4,9 +4,9 @@ The core of Material-UI is a [crowd-funded](/discover-more/backers/) open-source ### Diamond 💎 -*3/3 slots available* +_3/3 slots available_ -Diamond Sponsors are those who have pledged $2,000/month and more to Material-UI. +Diamond Sponsors are those who have pledged \$2,000/month and more to Material-UI. Please contact us at diamond@material-ui.com to subscribe to this tier. ### Gold 🏆 @@ -21,10 +21,10 @@ via [Patreon](https://www.patreon.com/oliviertassinari) via [OpenCollective](https://opencollective.com/material-ui)

    - callemall + call-em-all

    -Gold Sponsors are those who have pledged $500/month and more to Material-UI. +Gold Sponsors are those who have pledged \$500/month and more to Material-UI. ### There are more! From 9582032f7e1a589ece4a7457d3f0a6f19b664a95 Mon Sep 17 00:00:00 2001 From: Matthew Brookes Date: Sun, 8 Dec 2019 14:50:15 +0000 Subject: [PATCH 05/11] [docs] Add aria label to footer version page link https://www.w3.org/WAI/GL/wiki/Using_aria-label_for_link_purpose --- docs/src/modules/components/HomeFooter.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/src/modules/components/HomeFooter.js b/docs/src/modules/components/HomeFooter.js index 65e45148ceac99..d4e54305eecd03 100644 --- a/docs/src/modules/components/HomeFooter.js +++ b/docs/src/modules/components/HomeFooter.js @@ -124,7 +124,7 @@ function HomeFooter(props) { + {`v${process.env.LIB_VERSION}`} ), From 560635f3a3bc9a9d538ce23aff626c2b59873297 Mon Sep 17 00:00:00 2001 From: Matthew Brookes Date: Sun, 8 Dec 2019 18:38:29 +0000 Subject: [PATCH 06/11] prettier --- docs/src/modules/components/HomeFooter.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/docs/src/modules/components/HomeFooter.js b/docs/src/modules/components/HomeFooter.js index d4e54305eecd03..58dfa3347fc196 100644 --- a/docs/src/modules/components/HomeFooter.js +++ b/docs/src/modules/components/HomeFooter.js @@ -124,7 +124,11 @@ function HomeFooter(props) { + {`v${process.env.LIB_VERSION}`} ), From f7ab2396257657931045fa6744b82f057406d161 Mon Sep 17 00:00:00 2001 From: Matthew Brookes Date: Sun, 8 Dec 2019 23:43:42 +0000 Subject: [PATCH 07/11] [docs] Hide linked themes image from assistive tech --- docs/src/modules/components/HomeSteps.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/src/modules/components/HomeSteps.js b/docs/src/modules/components/HomeSteps.js index 791ad385ff0971..8686f913cd88c6 100644 --- a/docs/src/modules/components/HomeSteps.js +++ b/docs/src/modules/components/HomeSteps.js @@ -199,7 +199,7 @@ function HomeSteps(props) { data-ga-event-action="click" data-ga-event-label="home-image" className={classes.link} - aria-label={t('themesButton')} + aria-hidden="true" > Date: Sun, 8 Dec 2019 23:47:19 +0000 Subject: [PATCH 08/11] [docs] Revert VSCode prettier plugin changes --- docs/src/modules/components/backers.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/src/modules/components/backers.md b/docs/src/modules/components/backers.md index 82cede26bc2b78..4b0235f20c2d86 100644 --- a/docs/src/modules/components/backers.md +++ b/docs/src/modules/components/backers.md @@ -4,7 +4,7 @@ The core of Material-UI is a [crowd-funded](/discover-more/backers/) open-source ### Diamond 💎 -_3/3 slots available_ +*3/3 slots available* Diamond Sponsors are those who have pledged \$2,000/month and more to Material-UI. Please contact us at diamond@material-ui.com to subscribe to this tier. From 24dcc0290a8a737d75155f9702ebfe036b6040db Mon Sep 17 00:00:00 2001 From: Matthew Brookes Date: Mon, 9 Dec 2019 00:38:53 +0000 Subject: [PATCH 09/11] [docs] Make WAVE stop complianing about non-issue --- docs/src/modules/components/HomeSteps.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/src/modules/components/HomeSteps.js b/docs/src/modules/components/HomeSteps.js index 8686f913cd88c6..bf0ca1ce553818 100644 --- a/docs/src/modules/components/HomeSteps.js +++ b/docs/src/modules/components/HomeSteps.js @@ -204,7 +204,7 @@ function HomeSteps(props) { Date: Mon, 9 Dec 2019 11:48:34 +0100 Subject: [PATCH 10/11] apply patch everywhere --- README.md | 2 +- docs/src/modules/components/backers.md | 4 ++-- docs/src/pages/discover-more/backers/backers.md | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 41d8dc9107a2dc..bb70907cb9ec55 100644 --- a/README.md +++ b/README.md @@ -65,7 +65,7 @@ via [Patreon](https://www.patreon.com/oliviertassinari) via [OpenCollective](https://opencollective.com/material-ui)

    - callemall + call-em-all

    Gold Sponsors are those who have pledged $500/month and more to Material-UI. diff --git a/docs/src/modules/components/backers.md b/docs/src/modules/components/backers.md index 4b0235f20c2d86..a0ee6ab6438db4 100644 --- a/docs/src/modules/components/backers.md +++ b/docs/src/modules/components/backers.md @@ -6,7 +6,7 @@ The core of Material-UI is a [crowd-funded](/discover-more/backers/) open-source *3/3 slots available* -Diamond Sponsors are those who have pledged \$2,000/month and more to Material-UI. +Diamond Sponsors are those who have pledged $2,000/month and more to Material-UI. Please contact us at diamond@material-ui.com to subscribe to this tier. ### Gold 🏆 @@ -24,7 +24,7 @@ via [OpenCollective](https://opencollective.com/material-ui) call-em-all

    -Gold Sponsors are those who have pledged \$500/month and more to Material-UI. +Gold Sponsors are those who have pledged $500/month and more to Material-UI. ### There are more! diff --git a/docs/src/pages/discover-more/backers/backers.md b/docs/src/pages/discover-more/backers/backers.md index 569fa2fa194664..a75b1b97316bad 100644 --- a/docs/src/pages/discover-more/backers/backers.md +++ b/docs/src/pages/discover-more/backers/backers.md @@ -25,7 +25,7 @@ via [Patreon](https://www.patreon.com/oliviertassinari) via [OpenCollective](https://opencollective.com/material-ui)

    - callemall + call-em-all

    Gold Sponsors are those who have pledged $500/month and more to Material-UI. From 06b518720fcfd6d379fabd36abbbc8d89022471c Mon Sep 17 00:00:00 2001 From: Matthew Brookes Date: Mon, 9 Dec 2019 12:27:34 +0000 Subject: [PATCH 11/11] remove themes image from tab flow --- docs/src/modules/components/HomeSteps.js | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/src/modules/components/HomeSteps.js b/docs/src/modules/components/HomeSteps.js index bf0ca1ce553818..95bade38a3dda2 100644 --- a/docs/src/modules/components/HomeSteps.js +++ b/docs/src/modules/components/HomeSteps.js @@ -200,6 +200,7 @@ function HomeSteps(props) { data-ga-event-label="home-image" className={classes.link} aria-hidden="true" + tabindex="-1" >