Closed Rocss closed 4 weeks ago
Category | Latest (report) | Main (report) | Branch (report) |
---|---|---|---|
Performance | 0.99 | 0.99 | 0.99 |
Accessibility | 1 | 1 | 1 |
Best Practices | 1 | 1 | 1 |
SEO | 1 | 0.92 | 0.92 |
PWA | 1 | 1 | 1 |
main
("Main"). Higher scores are better, but *note that the SEO scores on Netlify URLs are artifically constrained to 0.92.*
Category | Latest | Main | Branch |
---|---|---|---|
Total | 222.529 kB | 210.913 kB | 210.825 kB 🏆 |
Scripts | 54.712 kB | 48.571 kB | 48.424 kB 🏆 |
Stylesheet | 34.914 kB | 30.434 kB 🏆 | 30.48 kB |
Document | 5.998 kB | 5.267 kB | 5.266 kB 🏆 |
Font | 126.905 kB | 126.641 kB 🏆 | 126.655 kB |
Category | Latest | Main | Branch |
---|---|---|---|
Total | 45 | 45 | 45 |
Scripts | 37 | 37 | 37 |
Stylesheet | 5 | 5 | 5 |
Document | 1 | 1 | 1 |
Font | 2 | 2 | 2 |
…state
Right now
sp-swatch
has some accessibility bugs:aria-checked="mixed"
on an element withrole=button
.aria-label
is not in sync with it and it has the old color value.Description
aria-label
with changes in color, when there's nolabel
providedaria-checked="mixed"
, as the mixed state in this case is more of a value, I moved this information in thearia-label
attribute.Related issue(s)
Motivation and context
Screen reader accessibility
How has this been tested?
aria-label="Mixed"
. This is the default accessible label in case the user does not provide one.aria-label
attribute is changed too to reflect the selected colorScreenshots (if appropriate)
Types of changes
Checklist
Best practices
This repository uses conventional commit syntax for each commit message; note that the GitHub UI does not use this by default so be cautious when accepting suggested changes. Avoid the "Update branch" button on the pull request and opt instead for rebasing your branch against
main
.