Display source code of a story.
If controls are used, all story arguments will be highlighted.
Additional commands are made available if the repository data of the story is available.
<h2>{`Hello, my name is ${name}, and I am ${age} years old.`}</h2>
);
impact
id
description
serious
color-contrast
Ensures the contrast between foreground and background colors meets WCAG 2 AA contrast ratio thresholds...
summary
target
Fix any of the following:
Element has insufficient color contrast of 2.76 (foreground color: #728fcb, background color: #f0ede7, font size: 12.0pt (16px), font weight: normal). Expected contrast ratio of 4.5:1
.rah-static.rah-static--height-auto[aria-hidden="false"] > div > .css-154oin1[data-testid="story"] > .story-render-container.css-dhmrnb > .css-1xkyebe[data-testid="story-source"] > .rah-static.rah-static--height-auto[aria-hidden="false"] > div > div > .css-eqxzio > pre > .token-line:nth-child(1) > .css-8ihg5k.parameter.token
Fix any of the following:
Element has insufficient color contrast of 2.63 (foreground color: #728fcb, background color: #e6e8ef, font size: 12.0pt (16px), font weight: normal). Expected contrast ratio of 4.5:1
.rah-static.rah-static--height-auto[aria-hidden="false"] > div > .css-154oin1[data-testid="story"] > .story-render-container.css-dhmrnb > .css-1xkyebe[data-testid="story-source"] > .rah-static.rah-static--height-auto[aria-hidden="false"] > div > div > .css-eqxzio > pre > .token-line:nth-child(1) > .css-1j85j7a.parameter.token
Fix any of the following:
Element has insufficient color contrast of 3.04 (foreground color: #728fcb, background color: #faf8f5, font size: 12.0pt (16px), font weight: normal). Expected contrast ratio of 4.5:1
.rah-static.rah-static--height-auto[aria-hidden="false"] > div > .css-154oin1[data-testid="story"] > .story-render-container.css-dhmrnb > .css-1xkyebe[data-testid="story-source"] > .rah-static.rah-static--height-auto[aria-hidden="false"] > div > div > .css-eqxzio > pre > .token-line:nth-child(2)
Fix any of the following:
Element has insufficient color contrast of 2.76 (foreground color: #728fcb, background color: #f0ede7, font size: 12.0pt (16px), font weight: normal). Expected contrast ratio of 4.5:1
.rah-static.rah-static--height-auto[aria-hidden="false"] > div > .css-154oin1[data-testid="story"] > .story-render-container.css-dhmrnb > .css-1xkyebe[data-testid="story-source"] > .rah-static.rah-static--height-auto[aria-hidden="false"] > div > div > .css-eqxzio > pre > .token-line:nth-child(2) > .css-8ihg5k.interpolation.template-string
Fix any of the following:
Element has insufficient color contrast of 3.04 (foreground color: #728fcb, background color: #faf8f5, font size: 12.0pt (16px), font weight: normal). Expected contrast ratio of 4.5:1
.rah-static.rah-static--height-auto[aria-hidden="false"] > div > .css-154oin1[data-testid="story"] > .story-render-container.css-dhmrnb > .css-1xkyebe[data-testid="story-source"] > .rah-static.rah-static--height-auto[aria-hidden="false"] > div > div > .css-eqxzio > pre > .token-line:nth-child(2)
Fix any of the following:
Element has insufficient color contrast of 2.63 (foreground color: #728fcb, background color: #e6e8ef, font size: 12.0pt (16px), font weight: normal). Expected contrast ratio of 4.5:1
.rah-static.rah-static--height-auto[aria-hidden="false"] > div > .css-154oin1[data-testid="story"] > .story-render-container.css-dhmrnb > .css-1xkyebe[data-testid="story-source"] > .rah-static.rah-static--height-auto[aria-hidden="false"] > div > div > .css-eqxzio > pre > .token-line:nth-child(2) > .css-1j85j7a.interpolation.template-string
Fix any of the following:
Element has insufficient color contrast of 3.04 (foreground color: #728fcb, background color: #faf8f5, font size: 12.0pt (16px), font weight: normal). Expected contrast ratio of 4.5:1
.rah-static.rah-static--height-auto[aria-hidden="false"] > div > .css-154oin1[data-testid="story"] > .story-render-container.css-dhmrnb > .css-1xkyebe[data-testid="story-source"] > .rah-static.rah-static--height-auto[aria-hidden="false"] > div > div > .css-eqxzio > pre > .token-line:nth-child(2)