Skip to content

Commit 84b08f4

Browse files
Lighthouse test correction
1 parent 86c6316 commit 84b08f4

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

src/resources/Namespaces/YamlUpload/YamlResourcesList.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,7 @@ export function YamlResourcesList({ resourcesData }) {
149149
>
150150
<ProgressIndicator
151151
value={getPercentage()}
152+
accessible-name="progress-indicator-upload"
152153
valueState={
153154
resources?.length === uploadedResources?.length
154155
? 'Positive'

src/shared/components/GenericList/components.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ import {
1515
import ListActions from 'shared/components/ListActions/ListActions';
1616

1717
export const BodyFallback = ({ children }) => (
18-
<div slot="noData" style={{ width: '100%' }}>
18+
<TableCell slot="noData" style={{ width: '100%' }}>
1919
<div className="body-fallback">{children}</div>
20-
</div>
20+
</TableCell>
2121
);
2222

2323
export const HeaderRenderer = ({

src/shared/components/ProgressIndicatorWithPercentage/ProgressIndicatorWithPercentage.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ export const ProgressIndicatorWithPercentage = ({
4747
value={value}
4848
ref={progress => applyColors(progress)}
4949
className="progress-indicator"
50+
accessible-name="progress-indicator-percentage"
5051
style={{ position: 'relative', zIndex: '0' }}
5152
/>
5253
</div>

0 commit comments

Comments
 (0)