Skip to content

Commit a86065b

Browse files
Use paragraphs in connection dialog to improve screen reader output (#11132)
With <br /> VoiceOver outputs empty "group" several times. Co-authored-by: Richard Knoll <riknoll@users.noreply.github.com>
1 parent 2d2a52b commit a86065b

1 file changed

Lines changed: 9 additions & 7 deletions

File tree

webapp/src/webusb.tsx

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -180,13 +180,15 @@ function showPickWebUSBDeviceDialogAsync(confirmAsync: ConfirmAsync, showDownloa
180180
<div className="ui">
181181
<div className="content">
182182
<div className="description">
183-
{lf("Press the Pair button below.")}
184-
<br />
185-
<br />
186-
{lf("A window will appear in the top of your browser.")}
187-
<br />
188-
<br />
189-
{lf("Select the {0} device and click Connect.", boardName)}
183+
<p>
184+
{lf("Press the Pair button below.")}
185+
</p>
186+
<p>
187+
{lf("A window will appear in the top of your browser.")}
188+
</p>
189+
<p>
190+
{lf("Select the {0} device and click Connect.", boardName)}
191+
</p>
190192
</div>
191193
</div>
192194
</div>

0 commit comments

Comments
 (0)