Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(toast): adds iconLabel to address accessibility #4944

Merged
merged 6 commits into from
Nov 22, 2024

Conversation

caseyisonit
Copy link
Collaborator

Description

  • Fixes the accessibility of icon label in Toast.
  • warning variant reads 'warning'.
  • consumers can provide a custom iconLabel to override the label on the icon.
  • sets up controls for the Toast default story

Related issue(s)

Motivation and context

Makes toast more accessible

How has this been tested?

  • Test case 1

    1. Go to Toast Default story
    2. Change the variant to error
    3. Make sure the label on icon matches
    4. make sure the CSS renders negative
  • Test case 2

    1. Go to Toast Default story
    2. Change the variant to warning
    3. Make sure the label on icon matches
    4. make sure the CSS renders negative
  • Test case 3

    1. Go to Toast Default story
    2. Change the variant to anything but ''
    3. Change the string on iconLabel
    4. Make sure the label on icon matches
    5. make sure the CSS renders negative
  • Test case 4

    1. Go to Toast Default story
    2. Change the variant to anything but ''
    3. check dev tools that variant attribute is on sp-toast
    4. Change the variant to ''
    5. check dev tools that variant attribute is removed from sp-toast
  • Did it pass in Desktop?

  • Did it pass in Mobile?

  • Did it pass in iPad?

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Chore (minor updates related to the tooling or maintenance of the repository, does not impact compiled assets)

Checklist

  • I have signed the Adobe Open Source CLA.
  • My code follows the code style of this project.
  • If my change required a change to the documentation, I have updated the documentation in this pull request.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • All new and existing tests passed.
  • I have reviewed at the Accessibility Practices for this feature, see: Aria Practices

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.

@caseyisonit caseyisonit requested a review from a team as a code owner November 20, 2024 23:43
Copy link

Branch preview

Review the following VRT differences

When a visual regression test fails (or has previously failed while working on this branch), its results can be found in the following URLs:

If the changes are expected, update the current_golden_images_cache hash in the circleci config to accept the new images. Instructions are included in that file.
If the changes are unexpected, you can investigate the cause of the differences and update the code accordingly.

Copy link

github-actions bot commented Nov 20, 2024

Lighthouse scores

Category Latest (report) Main (report) Branch (report)
Performance 0.98 0.99 0.98
Accessibility 1 1 1
Best Practices 1 1 1
SEO 1 0.92 0.92
PWA 1 1 1
What is this?

Lighthouse scores comparing the documentation site built from the PR ("Branch") to that of the production documentation site ("Latest") and the build currently on main ("Main"). Higher scores are better, but note that the SEO scores on Netlify URLs are artifically constrained to 0.92.

Transfer Size

Category Latest Main Branch
Total 250.648 kB 236.536 kB 🏆 236.753 kB
Scripts 60.688 kB 54.175 kB 🏆 54.255 kB
Stylesheet 53.964 kB 47.919 kB 🏆 48.017 kB
Document 6.222 kB 5.494 kB 🏆 5.508 kB
Font 126.94 kB 126.597 kB 🏆 126.623 kB

Request Count

Category Latest Main Branch
Total 52 52 52
Scripts 41 41 41
Stylesheet 5 5 5
Document 1 1 1
Font 2 2 2

@coveralls
Copy link
Collaborator

coveralls commented Nov 20, 2024

Pull Request Test Coverage Report for Build 11975491761

Details

  • 53 of 53 (100.0%) changed or added relevant lines in 2 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.002%) to 98.191%

Totals Coverage Status
Change from base Build 11974924176: 0.002%
Covered Lines: 32397
Relevant Lines: 32817

💛 - Coveralls

@@ -39,7 +39,7 @@ export class IconBase extends SpectrumElement {
@state()
public spectrumVersion = 1;

@property()
@property({ reflect: true })
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

required to stay up to date when Toast changes the label

@@ -34,3 +34,27 @@ governing permissions and limitations under the License.
transition-delay: 0s;
visibility: visible;
}

:host([variant='error']),
Copy link
Collaborator Author

@caseyisonit caseyisonit Nov 21, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

css added in to cover edge cases that werent known until storybook controls were added. temporary and should be removed with the variant deprecation work.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be driven from css

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i met with CSS and this is a temporary fix until the deprecated variants are removed.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you please add a TODO in the code to make sure we follow up when the fix is in!

Copy link

github-actions bot commented Nov 21, 2024

Tachometer results

Chrome

accordion permalink

basic-test

Version Bytes Avg Time vs remote vs branch
npm latest 678 kB 91.12ms - 92.90ms - faster ✔
9% - 11%
9.05ms - 11.45ms
branch 654 kB 101.45ms - 103.07ms slower ❌
10% - 13%
9.05ms - 11.45ms
-

action-bar permalink

basic-test

Version Bytes Avg Time vs remote vs branch
npm latest 739 kB 55.01ms - 56.52ms - faster ✔
3% - 5%
1.45ms - 3.19ms
branch 715 kB 57.64ms - 58.52ms slower ❌
3% - 6%
1.45ms - 3.19ms
-

action-button permalink

basic-test

Version Bytes Avg Time vs remote vs branch
npm latest 814 kB 78.57ms - 80.14ms - faster ✔
4% - 7%
3.24ms - 5.59ms
branch 770 kB 82.89ms - 84.65ms slower ❌
4% - 7%
3.24ms - 5.59ms
-

action-group permalink

basic-test

Version Bytes Avg Time vs remote vs branch
npm latest 836 kB 50.33ms - 52.82ms - faster ✔
3% - 9%
1.52ms - 5.22ms
branch 793 kB 53.58ms - 56.31ms slower ❌
3% - 10%
1.52ms - 5.22ms
-

action-menu permalink

test-basic

Version Bytes Avg Time vs remote vs branch
npm latest 959 kB 142.28ms - 145.68ms - faster ✔
3% - 6%
4.31ms - 8.89ms
branch 916 kB 149.05ms - 152.12ms slower ❌
3% - 6%
4.31ms - 8.89ms
-

test-directive permalink

Version Bytes Avg Time vs remote vs branch
npm latest 917 kB 71.80ms - 72.93ms - faster ✔
6% - 8%
4.41ms - 6.26ms
branch 874 kB 76.96ms - 78.43ms slower ❌
6% - 9%
4.41ms - 6.26ms
-

test-lazy permalink

Version Bytes Avg Time vs remote vs branch
npm latest 916 kB 69.91ms - 71.22ms - faster ✔
6% - 9%
4.31ms - 6.53ms
branch 873 kB 75.09ms - 76.88ms slower ❌
6% - 9%
4.31ms - 6.53ms
-

test-open-close-directive permalink

Version Bytes Avg Time vs remote vs branch
npm latest 1.09 MB 1875.30ms - 1878.14ms - unsure 🔍
-0% - +0%
-2.68ms - +1.42ms
branch 1.05 MB 1875.87ms - 1878.82ms unsure 🔍
-0% - +0%
-1.42ms - +2.68ms
-

test-open-close permalink

Version Bytes Avg Time vs remote vs branch
npm latest 1.09 MB 1880.13ms - 1882.81ms - unsure 🔍
-0% - +0%
-1.99ms - +2.08ms
branch 1.05 MB 1879.89ms - 1882.95ms unsure 🔍
-0% - +0%
-2.08ms - +1.99ms
-

alert-banner permalink

basic-test

Version Bytes Avg Time vs remote vs branch
npm latest 689 kB 14.38ms - 15.07ms - unsure 🔍
-6% - +1%
-0.92ms - +0.12ms
branch 664 kB 14.74ms - 15.51ms unsure 🔍
-1% - +6%
-0.12ms - +0.92ms
-

alert-dialog permalink

basic-test

Version Bytes Avg Time vs remote vs branch
npm latest 739 kB 109.45ms - 111.75ms - faster ✔
0% - 2%
0.09ms - 2.63ms
branch 696 kB 111.43ms - 112.50ms slower ❌
0% - 2%
0.09ms - 2.63ms
-

breadcrumbs permalink

basic-test

Version Bytes Avg Time vs remote vs branch
npm latest 979 kB 515.27ms - 520.43ms - faster ✔
3% - 4%
15.46ms - 24.20ms
branch 935 kB 534.15ms - 541.21ms slower ❌
3% - 5%
15.46ms - 24.20ms
-

button-group permalink

basic-test

Version Bytes Avg Time vs remote vs branch
npm latest 731 kB 47.10ms - 48.31ms - faster ✔
5% - 8%
2.39ms - 4.02ms
branch 688 kB 50.37ms - 51.45ms slower ❌
5% - 8%
2.39ms - 4.02ms
-

button permalink

test-basic

Version Bytes Avg Time vs remote vs branch
npm latest 739 kB 53.50ms - 54.62ms - faster ✔
5% - 8%
3.03ms - 4.83ms
branch 696 kB 57.29ms - 58.69ms slower ❌
6% - 9%
3.03ms - 4.83ms
-

card permalink

test-basic

Version Bytes Avg Time vs remote vs branch
npm latest 781 kB 39.81ms - 40.80ms - faster ✔
2% - 4%
0.65ms - 1.87ms
branch 757 kB 41.21ms - 41.92ms slower ❌
2% - 5%
0.65ms - 1.87ms
-

checkbox permalink

test-basic

Version Bytes Avg Time vs remote vs branch
npm latest 680 kB 48.32ms - 49.34ms - faster ✔
1% - 4%
0.73ms - 2.12ms
branch 656 kB 49.78ms - 50.73ms slower ❌
1% - 4%
0.73ms - 2.12ms
-

coachmark permalink

basic-test

Version Bytes Avg Time vs remote vs branch
npm latest 910 kB 94.49ms - 96.45ms - faster ✔
4% - 7%
3.95ms - 6.89ms
branch 864 kB 99.79ms - 101.98ms slower ❌
4% - 7%
3.95ms - 6.89ms
-

color-field permalink

basic-test

Version Bytes Avg Time vs remote vs branch
npm latest 748 kB 45.92ms - 46.95ms - faster ✔
2% - 5%
1.06ms - 2.49ms
branch 724 kB 47.71ms - 48.71ms slower ❌
2% - 5%
1.06ms - 2.49ms
-

combobox permalink

basic-test

Version Bytes Avg Time vs remote vs branch
npm latest 1 MB 43.09ms - 43.77ms - faster ✔
1% - 3%
0.62ms - 1.49ms
branch 957 kB 44.21ms - 44.76ms slower ❌
1% - 3%
0.62ms - 1.49ms
-

light-dom-test permalink

Version Bytes Avg Time vs remote vs branch
npm latest 1 MB 400.71ms - 405.95ms - faster ✔
1% - 3%
3.40ms - 12.00ms
branch 957 kB 407.62ms - 414.44ms slower ❌
1% - 3%
3.40ms - 12.00ms
-

contextual-help permalink

basic-test

Version Bytes Avg Time vs remote vs branch
npm latest 944 kB 53.66ms - 54.86ms - faster ✔
5% - 9%
3.10ms - 5.35ms
branch 898 kB 57.53ms - 59.43ms slower ❌
6% - 10%
3.10ms - 5.35ms
-

dialog permalink

basic-test

Version Bytes Avg Time vs remote vs branch
npm latest 802 kB 82.00ms - 82.63ms - faster ✔
2% - 4%
1.45ms - 3.85ms
branch 759 kB 83.80ms - 86.12ms slower ❌
2% - 5%
1.45ms - 3.85ms
-

field-group permalink

basic-test

Version Bytes Avg Time vs remote vs branch
npm latest 686 kB 46.43ms - 47.53ms - faster ✔
3% - 6%
1.63ms - 3.23ms
branch 662 kB 48.83ms - 49.99ms slower ❌
3% - 7%
1.63ms - 3.23ms
-

field-label permalink

basic-test

Version Bytes Avg Time vs remote vs branch
npm latest 651 kB 22.75ms - 23.10ms - faster ✔
1% - 3%
0.25ms - 0.72ms
branch 627 kB 23.26ms - 23.57ms slower ❌
1% - 3%
0.25ms - 0.72ms
-

help-text permalink

basic-test

Version Bytes Avg Time vs remote vs branch
npm latest 646 kB 12.42ms - 12.62ms - faster ✔
2% - 4%
0.30ms - 0.55ms
branch 622 kB 12.87ms - 13.02ms slower ❌
2% - 4%
0.30ms - 0.55ms
-

icon permalink

test-basic

Version Bytes Avg Time vs remote vs branch
npm latest 651 kB 15.08ms - 15.34ms - faster ✔
11% - 13%
1.80ms - 2.18ms
branch 627 kB 17.06ms - 17.33ms slower ❌
12% - 14%
1.80ms - 2.18ms
-

infield-button permalink

basic-test

Version Bytes Avg Time vs remote vs branch
npm latest 661 kB 17.16ms - 17.49ms - faster ✔
5% - 8%
1.00ms - 1.59ms
branch 636 kB 18.38ms - 18.87ms slower ❌
6% - 9%
1.00ms - 1.59ms
-

menu permalink

test-basic

Version Bytes Avg Time vs remote vs branch
npm latest 741 kB 212.80ms - 214.99ms - faster ✔
2% - 4%
4.39ms - 7.77ms
branch 716 kB 218.69ms - 221.27ms slower ❌
2% - 4%
4.39ms - 7.77ms
-

meter permalink

basic-test

Version Bytes Avg Time vs remote vs branch
npm latest 668 kB 50.13ms - 51.24ms - faster ✔
4% - 7%
2.16ms - 3.66ms
branch 643 kB 53.10ms - 54.09ms slower ❌
4% - 7%
2.16ms - 3.66ms
-

number-field permalink

basic-test

Version Bytes Avg Time vs remote vs branch
npm latest 795 kB 74.53ms - 75.81ms - faster ✔
10% - 13%
8.47ms - 11.02ms
branch 770 kB 83.81ms - 86.01ms slower ❌
11% - 15%
8.47ms - 11.02ms
-

overlay permalink

basic-test

Version Bytes Avg Time vs remote vs branch
npm latest 982 kB 436.47ms - 440.41ms - faster ✔
0% - 1%
0.32ms - 5.65ms
branch 939 kB 439.63ms - 443.22ms slower ❌
0% - 1%
0.32ms - 5.65ms
-

directive-test permalink

Version Bytes Avg Time vs remote vs branch
npm latest 1.06 MB 27.00ms - 28.13ms - faster ✔
2% - 7%
0.65ms - 2.06ms
branch 1.02 MB 28.50ms - 29.34ms slower ❌
2% - 8%
0.65ms - 2.06ms
-

element-test permalink

Version Bytes Avg Time vs remote vs branch
npm latest 1.05 MB 358.04ms - 362.22ms - faster ✔
3% - 4%
9.86ms - 15.94ms
branch 1.01 MB 370.82ms - 375.24ms slower ❌
3% - 4%
9.86ms - 15.94ms
-

lazy-test permalink

Version Bytes Avg Time vs remote vs branch
npm latest 851 kB 45.07ms - 46.26ms - faster ✔
5% - 8%
2.49ms - 4.07ms
branch 805 kB 48.42ms - 49.47ms slower ❌
5% - 9%
2.49ms - 4.07ms
-

picker-button permalink

basic-test

Version Bytes Avg Time vs remote vs branch
npm latest 674 kB 29.99ms - 30.40ms - faster ✔
6% - 8%
1.82ms - 2.63ms
branch 650 kB 32.07ms - 32.78ms slower ❌
6% - 9%
1.82ms - 2.63ms
-

picker permalink

basic-test

Version Bytes Avg Time vs remote vs branch
npm latest 817 kB 509.95ms - 517.42ms - faster ✔
3% - 5%
16.90ms - 28.16ms
branch 774 kB 532.00ms - 540.42ms slower ❌
3% - 6%
16.90ms - 28.16ms
-

popover permalink

test-basic

Version Bytes Avg Time vs remote vs branch
npm latest 817 kB 107.92ms - 108.69ms - faster ✔
1% - 3%
0.90ms - 3.04ms
branch 774 kB 109.28ms - 111.28ms slower ❌
1% - 3%
0.90ms - 3.04ms
-

progress-bar permalink

basic-test

Version Bytes Avg Time vs remote vs branch
npm latest 666 kB 30.70ms - 31.39ms - faster ✔
2% - 5%
0.58ms - 1.49ms
branch 642 kB 31.78ms - 32.37ms slower ❌
2% - 5%
0.58ms - 1.49ms
-

radio permalink

test-basic

Version Bytes Avg Time vs remote vs branch
npm latest 663 kB 38.77ms - 39.77ms - faster ✔
2% - 5%
0.72ms - 2.07ms
branch 639 kB 40.21ms - 41.12ms slower ❌
2% - 5%
0.72ms - 2.07ms
-

search permalink

test-basic

Version Bytes Avg Time vs remote vs branch
npm latest 737 kB 44.52ms - 45.44ms - faster ✔
3% - 5%
1.28ms - 2.52ms
branch 713 kB 46.46ms - 47.30ms slower ❌
3% - 6%
1.28ms - 2.52ms
-

slider permalink

test-basic

Version Bytes Avg Time vs remote vs branch
npm latest 741 kB 78.74ms - 81.96ms - faster ✔
3% - 7%
2.62ms - 6.18ms
branch 717 kB 84.00ms - 85.52ms slower ❌
3% - 8%
2.62ms - 6.18ms
-

swatch permalink

basic-test

Version Bytes Avg Time vs remote vs branch
npm latest 669 kB 15.64ms - 15.92ms - faster ✔
7% - 10%
1.10ms - 1.84ms
branch 645 kB 16.91ms - 17.59ms slower ❌
7% - 12%
1.10ms - 1.84ms
-

switch permalink

test-basic

Version Bytes Avg Time vs remote vs branch
npm latest 657 kB 17.03ms - 17.41ms - faster ✔
4% - 7%
0.78ms - 1.28ms
branch 633 kB 18.09ms - 18.42ms slower ❌
5% - 8%
0.78ms - 1.28ms
-

table permalink

basic-test

Version Bytes Avg Time vs remote vs branch
npm latest 802 kB 124.93ms - 127.51ms - faster ✔
3% - 6%
4.19ms - 7.52ms
branch 753 kB 131.03ms - 133.13ms slower ❌
3% - 6%
4.19ms - 7.52ms
-

tabs permalink

basic-test

Version Bytes Avg Time vs remote vs branch
npm latest 683 kB 116.29ms - 118.43ms - faster ✔
0% - 2%
0.10ms - 2.70ms
branch 658 kB 118.03ms - 119.50ms slower ❌
0% - 2%
0.10ms - 2.70ms
-

tags permalink

basic-test

Version Bytes Avg Time vs remote vs branch
npm latest 712 kB 14.87ms - 15.06ms - unsure 🔍
-1% - +1%
-0.15ms - +0.16ms
branch 688 kB 14.84ms - 15.08ms unsure 🔍
-1% - +1%
-0.16ms - +0.15ms
-

textfield permalink

test-basic

Version Bytes Avg Time vs remote vs branch
npm latest 693 kB 26.11ms - 26.53ms - faster ✔
10% - 12%
3.00ms - 3.70ms
branch 669 kB 29.39ms - 29.95ms slower ❌
11% - 14%
3.00ms - 3.70ms
-

toast permalink

test-basic

Version Bytes Avg Time vs remote vs branch
npm latest 696 kB 31.73ms - 32.59ms - faster ✔
7% - 10%
2.46ms - 3.63ms
branch 672 kB 34.81ms - 35.60ms slower ❌
8% - 11%
2.46ms - 3.63ms
-

tooltip permalink

test-basic

Version Bytes Avg Time vs remote vs branch
npm latest 848 kB 36.89ms - 38.00ms - faster ✔
2% - 5%
0.69ms - 2.00ms
branch 827 kB 38.44ms - 39.14ms slower ❌
2% - 5%
0.69ms - 2.00ms
-

test-directive permalink

Version Bytes Avg Time vs remote vs branch
npm latest 831 kB 26.32ms - 26.99ms - faster ✔
7% - 11%
1.95ms - 3.39ms
branch 788 kB 28.69ms - 29.97ms slower ❌
7% - 13%
1.95ms - 3.39ms
-

test-element permalink

Version Bytes Avg Time vs remote vs branch
npm latest 956 kB 54.86ms - 56.15ms - faster ✔
4% - 8%
2.59ms - 4.91ms
branch 910 kB 58.29ms - 60.22ms slower ❌
5% - 9%
2.59ms - 4.91ms
-

test-lazy permalink

Version Bytes Avg Time vs remote vs branch
npm latest 932 kB 45.48ms - 47.08ms - faster ✔
3% - 8%
1.65ms - 3.70ms
branch 886 kB 48.31ms - 49.60ms slower ❌
3% - 8%
1.65ms - 3.70ms
-

top-nav permalink

basic-test

Version Bytes Avg Time vs remote vs branch
npm latest 689 kB 40.52ms - 41.97ms - faster ✔
3% - 7%
1.23ms - 3.25ms
branch 664 kB 42.79ms - 44.19ms slower ❌
3% - 8%
1.23ms - 3.25ms
-

truncated permalink

basic-test

Version Bytes Avg Time vs remote vs branch
npm latest 789 kB 64.02ms - 65.30ms - faster ✔
3% - 6%
1.87ms - 4.19ms
branch 761 kB 66.72ms - 68.66ms slower ❌
3% - 7%
1.87ms - 4.19ms
-
Firefox

accordion permalink

basic-test

Version Bytes Avg Time vs remote vs branch
npm latest 678 kB 190.73ms - 196.51ms - faster ✔
8% - 11%
17.44ms - 24.68ms
branch 654 kB 212.50ms - 216.86ms slower ❌
9% - 13%
17.44ms - 24.68ms
-

action-bar permalink

basic-test

Version Bytes Avg Time vs remote vs branch
npm latest 739 kB 119.51ms - 127.01ms - faster ✔
2% - 10%
1.88ms - 12.92ms
branch 715 kB 126.60ms - 134.72ms slower ❌
1% - 11%
1.88ms - 12.92ms
-

action-button permalink

basic-test

Version Bytes Avg Time vs remote vs branch
npm latest 814 kB 167.45ms - 176.07ms - faster ✔
2% - 8%
3.21ms - 15.31ms
branch 770 kB 176.77ms - 185.27ms slower ❌
2% - 9%
3.21ms - 15.31ms
-

action-group permalink

basic-test

Version Bytes Avg Time vs remote vs branch
npm latest 836 kB 116.16ms - 124.04ms - faster ✔
0% - 9%
0.42ms - 12.10ms
branch 793 kB 122.06ms - 130.66ms slower ❌
0% - 10%
0.42ms - 12.10ms
-

action-menu permalink

test-basic

Version Bytes Avg Time vs remote vs branch
npm latest 959 kB 286.65ms - 289.59ms - faster ✔
15% - 16%
50.45ms - 56.55ms
branch 916 kB 338.94ms - 344.30ms slower ❌
17% - 20%
50.45ms - 56.55ms
-

test-directive permalink

Version Bytes Avg Time vs remote vs branch
npm latest 917 kB 157.07ms - 160.13ms - slower ❌
4% - 9%
6.47ms - 12.97ms
branch 874 kB 146.01ms - 151.75ms faster ✔
4% - 8%
6.47ms - 12.97ms
-

test-lazy permalink

Version Bytes Avg Time vs remote vs branch
npm latest 916 kB 145.55ms - 151.21ms - unsure 🔍
-1% - +4%
-2.17ms - +5.33ms
branch 873 kB 144.33ms - 149.27ms unsure 🔍
-4% - +1%
-5.33ms - +2.17ms
-

test-open-close-directive permalink

Version Bytes Avg Time vs remote vs branch
npm latest 1.09 MB 1897.76ms - 1906.08ms - faster ✔
0% - 1%
4.63ms - 16.25ms
branch 1.05 MB 1908.31ms - 1916.41ms slower ❌
0% - 1%
4.63ms - 16.25ms
-

test-open-close permalink

Version Bytes Avg Time vs remote vs branch
npm latest 1.09 MB 1898.72ms - 1903.32ms - unsure 🔍
-0% - +0%
-5.73ms - +0.49ms
branch 1.05 MB 1901.54ms - 1905.74ms unsure 🔍
-0% - +0%
-0.49ms - +5.73ms
-

alert-banner permalink

basic-test

Version Bytes Avg Time vs remote vs branch
npm latest 689 kB 30.09ms - 33.03ms - unsure 🔍
-12% - +2%
-3.95ms - +0.63ms
branch 664 kB 31.46ms - 34.98ms unsure 🔍
-2% - +13%
-0.63ms - +3.95ms
-

alert-dialog permalink

basic-test

Version Bytes Avg Time vs remote vs branch
npm latest 739 kB 207.23ms - 218.89ms - unsure 🔍
-1% - +5%
-2.41ms - +11.21ms
branch 696 kB 205.14ms - 212.18ms unsure 🔍
-5% - +1%
-11.21ms - +2.41ms
-

breadcrumbs permalink

basic-test

Version Bytes Avg Time vs remote vs branch
npm latest 979 kB 843.65ms - 859.43ms - faster ✔
2% - 4%
15.45ms - 39.15ms
branch 935 kB 869.99ms - 887.69ms slower ❌
2% - 5%
15.45ms - 39.15ms
-

button-group permalink

basic-test

Version Bytes Avg Time vs remote vs branch
npm latest 731 kB 109.65ms - 118.31ms - unsure 🔍
-9% - +1%
-10.59ms - +1.15ms
branch 688 kB 114.74ms - 122.66ms unsure 🔍
-1% - +9%
-1.15ms - +10.59ms
-

button permalink

test-basic

Version Bytes Avg Time vs remote vs branch
npm latest 739 kB 127.15ms - 133.65ms - faster ✔
3% - 10%
3.30ms - 13.86ms
branch 696 kB 134.82ms - 143.14ms slower ❌
2% - 11%
3.30ms - 13.86ms
-

card permalink

test-basic

Version Bytes Avg Time vs remote vs branch
npm latest 781 kB 77.78ms - 83.10ms - unsure 🔍
-6% - +2%
-4.76ms - +1.56ms
branch 757 kB 80.33ms - 83.75ms unsure 🔍
-2% - +6%
-1.56ms - +4.76ms
-

checkbox permalink

test-basic

Version Bytes Avg Time vs remote vs branch
npm latest 680 kB 106.63ms - 112.81ms - faster ✔
1% - 8%
0.57ms - 9.75ms
branch 656 kB 111.49ms - 118.27ms slower ❌
0% - 9%
0.57ms - 9.75ms
-

coachmark permalink

basic-test

Version Bytes Avg Time vs remote vs branch
npm latest 910 kB 205.12ms - 212.60ms - faster ✔
2% - 7%
5.22ms - 15.62ms
branch 864 kB 215.67ms - 222.89ms slower ❌
2% - 8%
5.22ms - 15.62ms
-

color-field permalink

basic-test

Version Bytes Avg Time vs remote vs branch
npm latest 756 kB 85.09ms - 90.71ms - unsure 🔍
-5% - +2%
-4.74ms - +1.86ms
branch 732 kB 87.62ms - 91.06ms unsure 🔍
-2% - +5%
-1.86ms - +4.74ms
-

combobox permalink

basic-test

Version Bytes Avg Time vs remote vs branch
npm latest 1 MB 71.38ms - 74.34ms - faster ✔
1% - 6%
0.41ms - 4.51ms
branch 957 kB 73.90ms - 76.74ms slower ❌
1% - 6%
0.41ms - 4.51ms
-

light-dom-test permalink

Version Bytes Avg Time vs remote vs branch
npm latest 1 MB 763.28ms - 787.04ms - slower ❌
6% - 9%
41.64ms - 67.28ms
branch 957 kB 715.88ms - 725.52ms faster ✔
5% - 9%
41.64ms - 67.28ms
-

contextual-help permalink

basic-test

Version Bytes Avg Time vs remote vs branch
npm latest 944 kB 112.53ms - 121.95ms - unsure 🔍
-9% - +1%
-10.46ms - +0.78ms
branch 898 kB 119.01ms - 125.15ms unsure 🔍
-1% - +9%
-0.78ms - +10.46ms
-

dialog permalink

basic-test

Version Bytes Avg Time vs remote vs branch
npm latest 802 kB 126.10ms - 131.70ms - faster ✔
0% - 7%
0.34ms - 9.34ms
branch 759 kB 130.22ms - 137.26ms slower ❌
0% - 7%
0.34ms - 9.34ms
-

field-group permalink

basic-test

Version Bytes Avg Time vs remote vs branch
npm latest 686 kB 100.20ms - 109.28ms - unsure 🔍
-7% - +4%
-8.01ms - +4.25ms
branch 662 kB 102.51ms - 110.73ms unsure 🔍
-4% - +8%
-4.25ms - +8.01ms
-

field-label permalink

basic-test

Version Bytes Avg Time vs remote vs branch
npm latest 651 kB 57.79ms - 63.13ms - unsure 🔍
-7% - +7%
-3.97ms - +4.41ms
branch 627 kB 57.01ms - 63.47ms unsure 🔍
-7% - +7%
-4.41ms - +3.97ms
-

help-text permalink

basic-test

Version Bytes Avg Time vs remote vs branch
npm latest 646 kB 26.77ms - 29.19ms - unsure 🔍
-10% - +2%
-3.00ms - +0.76ms
branch 622 kB 27.66ms - 30.54ms unsure 🔍
-3% - +11%
-0.76ms - +3.00ms
-

icon permalink

test-basic

Version Bytes Avg Time vs remote vs branch
npm latest 651 kB 38.26ms - 41.90ms - faster ✔
5% - 15%
2.36ms - 6.96ms
branch 627 kB 43.33ms - 46.15ms slower ❌
5% - 18%
2.36ms - 6.96ms
-

infield-button permalink

basic-test

Version Bytes Avg Time vs remote vs branch
npm latest 661 kB 42.77ms - 45.75ms - faster ✔
2% - 12%
0.99ms - 5.89ms
branch 636 kB 45.76ms - 49.64ms slower ❌
2% - 13%
0.99ms - 5.89ms
-

menu permalink

test-basic

Version Bytes Avg Time vs remote vs branch
npm latest 741 kB 403.95ms - 420.25ms - unsure 🔍
-5% - +0%
-22.05ms - +1.21ms
branch 716 kB 414.22ms - 430.82ms unsure 🔍
-0% - +5%
-1.21ms - +22.05ms
-

meter permalink

basic-test

Version Bytes Avg Time vs remote vs branch
npm latest 668 kB 88.02ms - 92.02ms - unsure 🔍
-7% - +1%
-6.40ms - +0.96ms
branch 643 kB 89.66ms - 95.82ms unsure 🔍
-1% - +7%
-0.96ms - +6.40ms
-

number-field permalink

basic-test

Version Bytes Avg Time vs remote vs branch
npm latest 795 kB 157.22ms - 165.26ms - faster ✔
7% - 13%
12.06ms - 22.78ms
branch 770 kB 175.11ms - 182.21ms slower ❌
7% - 14%
12.06ms - 22.78ms
-

overlay permalink

basic-test

Version Bytes Avg Time vs remote vs branch
npm latest 1.06 MB 683.59ms - 698.73ms - slower ❌
7% - 10%
47.08ms - 63.80ms
branch 1.01 MB 632.17ms - 639.27ms faster ✔
7% - 9%
47.08ms - 63.80ms
-

directive-test permalink

Version Bytes Avg Time vs remote vs branch
npm latest 1.06 MB 52.73ms - 53.83ms - faster ✔
2% - 5%
1.18ms - 2.94ms
branch 1.02 MB 54.65ms - 56.03ms slower ❌
2% - 6%
1.18ms - 2.94ms
-

element-test permalink

Version Bytes Avg Time vs remote vs branch
npm latest 1.05 MB 692.00ms - 700.12ms - slower ❌
6% - 9%
42.01ms - 55.55ms
branch 1.01 MB 641.87ms - 652.69ms faster ✔
6% - 8%
42.01ms - 55.55ms
-

lazy-test permalink

Version Bytes Avg Time vs remote vs branch
npm latest 851 kB 94.21ms - 100.47ms - faster ✔
1% - 8%
0.63ms - 7.97ms
branch 805 kB 99.72ms - 103.56ms slower ❌
1% - 8%
0.63ms - 7.97ms
-

picker-button permalink

basic-test

Version Bytes Avg Time vs remote vs branch
npm latest 674 kB 63.68ms - 68.80ms - faster ✔
0% - 11%
0.02ms - 7.94ms
branch 650 kB 67.20ms - 73.24ms unsure 🔍
-0% - +12%
+0.02ms - +7.94ms
-

picker permalink

basic-test

Version Bytes Avg Time vs remote vs branch
npm latest 817 kB 1000.58ms - 1006.86ms - faster ✔
4% - 8%
46.72ms - 88.48ms
branch 774 kB 1050.68ms - 1091.96ms slower ❌
5% - 9%
46.72ms - 88.48ms
-

popover permalink

test-basic

Version Bytes Avg Time vs remote vs branch
npm latest 817 kB 148.95ms - 156.25ms - faster ✔
1% - 7%
1.23ms - 11.73ms
branch 774 kB 155.31ms - 162.85ms slower ❌
1% - 8%
1.23ms - 11.73ms
-

progress-bar permalink

basic-test

Version Bytes Avg Time vs remote vs branch
npm latest 666 kB 63.18ms - 68.50ms - unsure 🔍
-8% - +3%
-5.69ms - +1.89ms
branch 642 kB 65.05ms - 70.43ms unsure 🔍
-3% - +9%
-1.89ms - +5.69ms
-

radio permalink

test-basic

Version Bytes Avg Time vs remote vs branch
npm latest 663 kB 78.57ms - 83.59ms - unsure 🔍
-7% - +2%
-5.99ms - +1.39ms
branch 639 kB 80.67ms - 86.09ms unsure 🔍
-2% - +7%
-1.39ms - +5.99ms
-

search permalink

test-basic

Version Bytes Avg Time vs remote vs branch
npm latest 737 kB 87.95ms - 92.61ms - faster ✔
5% - 13%
4.87ms - 13.13ms
branch 713 kB 95.87ms - 102.69ms slower ❌
5% - 15%
4.87ms - 13.13ms
-

slider permalink

test-basic

Version Bytes Avg Time vs remote vs branch
npm latest 741 kB 160.80ms - 169.40ms - faster ✔
1% - 8%
1.45ms - 13.19ms
branch 717 kB 168.43ms - 176.41ms slower ❌
1% - 8%
1.45ms - 13.19ms
-

swatch permalink

basic-test

Version Bytes Avg Time vs remote vs branch
npm latest 669 kB 36.35ms - 40.37ms - unsure 🔍
-13% - +2%
-5.25ms - +0.81ms
branch 645 kB 38.31ms - 42.85ms unsure 🔍
-2% - +14%
-0.81ms - +5.25ms
-

switch permalink

test-basic

Version Bytes Avg Time vs remote vs branch
npm latest 657 kB 42.05ms - 46.51ms - unsure 🔍
-7% - +6%
-3.25ms - +2.69ms
branch 633 kB 42.60ms - 46.52ms unsure 🔍
-6% - +7%
-2.69ms - +3.25ms
-

table permalink

basic-test

Version Bytes Avg Time vs remote vs branch
npm latest 802 kB 285.91ms - 295.01ms - faster ✔
2% - 6%
4.57ms - 18.15ms
branch 753 kB 296.78ms - 306.86ms slower ❌
2% - 6%
4.57ms - 18.15ms
-

tabs permalink

basic-test

Version Bytes Avg Time vs remote vs branch
npm latest 683 kB 206.83ms - 220.25ms - unsure 🔍
-4% - +3%
-8.85ms - +7.01ms
branch 658 kB 210.24ms - 218.68ms unsure 🔍
-3% - +4%
-7.01ms - +8.85ms
-

tags permalink

basic-test

Version Bytes Avg Time vs remote vs branch
npm latest 712 kB 31.25ms - 34.75ms - unsure 🔍
-5% - +8%
-1.73ms - +2.73ms
branch 688 kB 31.13ms - 33.87ms unsure 🔍
-8% - +5%
-2.73ms - +1.73ms
-

textfield permalink

test-basic

Version Bytes Avg Time vs remote vs branch
npm latest 693 kB 51.55ms - 56.89ms - unsure 🔍
-11% - +1%
-6.51ms - +0.91ms
branch 669 kB 54.44ms - 59.60ms unsure 🔍
-2% - +12%
-0.91ms - +6.51ms
-

toast permalink

test-basic

Version Bytes Avg Time vs remote vs branch
npm latest 696 kB 73.71ms - 79.17ms - faster ✔
2% - 13%
1.20ms - 10.92ms
branch 672 kB 78.47ms - 86.53ms slower ❌
1% - 14%
1.20ms - 10.92ms
-

tooltip permalink

test-basic

Version Bytes Avg Time vs remote vs branch
npm latest 956 kB 90.11ms - 94.81ms - slower ❌
15% - 23%
11.66ms - 17.78ms
branch 910 kB 75.77ms - 79.71ms faster ✔
13% - 19%
11.66ms - 17.78ms
-

test-directive permalink

Version Bytes Avg Time vs remote vs branch
npm latest 831 kB 51.61ms - 53.39ms - faster ✔
1% - 6%
0.69ms - 3.11ms
branch 788 kB 53.58ms - 55.22ms slower ❌
1% - 6%
0.69ms - 3.11ms
-

test-element permalink

Version Bytes Avg Time vs remote vs branch
npm latest 956 kB 151.06ms - 157.06ms - slower ❌
13% - 19%
17.44ms - 24.76ms
branch 910 kB 130.86ms - 135.06ms faster ✔
12% - 16%
17.44ms - 24.76ms
-

test-lazy permalink

Version Bytes Avg Time vs remote vs branch
npm latest 932 kB 88.42ms - 92.06ms - faster ✔
30% - 34%
38.85ms - 46.71ms
branch 886 kB 129.54ms - 136.50ms slower ❌
43% - 52%
38.85ms - 46.71ms
-

top-nav permalink

basic-test

Version Bytes Avg Time vs remote vs branch
npm latest 689 kB 98.32ms - 104.64ms - faster ✔
1% - 10%
0.87ms - 10.57ms
branch 664 kB 103.52ms - 110.88ms slower ❌
1% - 11%
0.87ms - 10.57ms
-

truncated permalink

basic-test

Version Bytes Avg Time vs remote vs branch
npm latest 789 kB 114.49ms - 123.03ms - unsure 🔍
-7% - +3%
-8.32ms - +3.36ms
branch 761 kB 117.25ms - 125.23ms unsure 🔍
-3% - +7%
-3.36ms - +8.32ms
-

@Rajdeepc Rajdeepc changed the title Fix(Toast): Adds iconLabel to address accessibility fix(toast): adds iconLabel to address accessibility Nov 21, 2024
@Rajdeepc
Copy link
Contributor

Can you also make sure that you surface this information up in the docs site?

@caseyisonit caseyisonit merged commit 8121057 into main Nov 22, 2024
27 checks passed
@caseyisonit caseyisonit deleted the caseyisonit/3406-toast-fix branch November 22, 2024 22:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug][a11y]: Toast should have API for overriding the icon's alt text
4 participants