Skip to content

Commit a2d54a8

Browse files
authored
Fix extra char read by AT (#5451)
* Fix Steplist extra hidden char
1 parent 75417bb commit a2d54a8

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

packages/@adobe/spectrum-css-temp/components/steplist/index.css

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ governing permissions and limitations under the License.
218218

219219
padding-inline-start: calc(var(--spectrum-steplist-chevron-gap) - var(--spectrum-steplist-marker-label-gap));
220220
&::before {
221-
content: 'x';
221+
content: "*";
222222
width: 0;
223223
visibility: hidden;
224224
}
@@ -239,7 +239,7 @@ governing permissions and limitations under the License.
239239
display: flex;
240240
align-items: center;
241241
&::before {
242-
content: 'x';
242+
content: "*";
243243
width: 0;
244244
visibility: hidden;
245245
}
@@ -281,7 +281,7 @@ governing permissions and limitations under the License.
281281
display: flex;
282282
align-items: center;
283283
&::before {
284-
content: 'x';
284+
content: "*";
285285
width: 0;
286286
visibility: hidden;
287287
}

packages/@react-spectrum/steplist/src/StepListItem.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,8 +105,8 @@ export function StepListItem<T>(props: SpectrumStepListItemProps<T>) {
105105
'is-reversed': direction === 'rtl'
106106
})} />
107107
</div>
108-
<div id={markerId} aria-hidden="true" className={classNames(styles, 'spectrum-Steplist-markerWrapper')}>
109-
<div className={classNames(styles, 'spectrum-Steplist-marker')}>{numberFormatter.format((item.index || 0) + 1)}</div>
108+
<div aria-hidden="true" className={classNames(styles, 'spectrum-Steplist-markerWrapper')}>
109+
<div id={markerId} className={classNames(styles, 'spectrum-Steplist-marker')}>{numberFormatter.format((item.index || 0) + 1)}</div>
110110
</div>
111111
</a>
112112
</FocusRing>

0 commit comments

Comments
 (0)