Skip to content

Commit dd82ed0

Browse files
Merge pull request #638 from OneNoteDev/claude/issue-634-20260309-0501
A11y Bug 8780675: Voice Access is showing numbers for the non interactive controls.
2 parents 1b0f597 + 14d4761 commit dd82ed0

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

src/scripts/clipperUI/components/sectionPicker.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -296,10 +296,10 @@ export class SectionPickerClass extends ComponentBase<SectionPickerState, Sectio
296296

297297
return (
298298
<div id={Constants.Ids.locationPickerContainer} {...this.onElementFirstDraw(this.addSrOnlyLocationDiv)}>
299-
<div id={Constants.Ids.optionLabel} className="optionLabel">
300-
<label htmlFor={Constants.Ids.sectionLocationContainer} aria-label={locationString} className="buttonLabelFont" style={Localization.getFontFamilyAsStyle(Localization.FontFamily.Regular)}>
301-
<span aria-hidden="true">{locationString}</span>
302-
</label>
299+
<div id={Constants.Ids.optionLabel} className="optionLabel" aria-hidden="true">
300+
<span className="buttonLabelFont" style={Localization.getFontFamilyAsStyle(Localization.FontFamily.Regular)}>
301+
{locationString}
302+
</span>
303303
</div>
304304
<OneNotePicker.OneNotePickerComponent
305305
id={Constants.Ids.sectionLocationContainer}

0 commit comments

Comments
 (0)