@@ -171,7 +171,7 @@ export default function Preferences() {
171
171
< TabPanel >
172
172
< div className = "preference" >
173
173
< h4 className = "preference__title" > { t ( 'Preferences.Theme' ) } </ h4 >
174
- < div className = "preference__options" >
174
+ < fieldset className = "preference__options" >
175
175
< input
176
176
type = "radio"
177
177
onChange = { ( ) => dispatch ( setTheme ( 'light' ) ) }
@@ -214,7 +214,7 @@ export default function Preferences() {
214
214
>
215
215
{ t ( 'Preferences.HighContrastTheme' ) }
216
216
</ label >
217
- </ div >
217
+ </ fieldset >
218
218
</ div >
219
219
< div className = "preference" >
220
220
< h4 className = "preference__title" > { t ( 'Preferences.TextSize' ) } </ h4 >
@@ -266,7 +266,7 @@ export default function Preferences() {
266
266
</ div >
267
267
< div className = "preference" >
268
268
< h4 className = "preference__title" > { t ( 'Preferences.Autosave' ) } </ h4 >
269
- < div className = "preference__options" >
269
+ < fieldset className = "preference__options" >
270
270
< input
271
271
type = "radio"
272
272
onChange = { ( ) => dispatch ( setAutosave ( true ) ) }
@@ -293,13 +293,13 @@ export default function Preferences() {
293
293
< label htmlFor = "autosave-off" className = "preference__option" >
294
294
{ t ( 'Preferences.Off' ) }
295
295
</ label >
296
- </ div >
296
+ </ fieldset >
297
297
</ div >
298
298
< div className = "preference" >
299
299
< h4 className = "preference__title" >
300
300
{ t ( 'Preferences.AutocloseBracketsQuotes' ) }
301
301
</ h4 >
302
- < div className = "preference__options" >
302
+ < fieldset className = "preference__options" >
303
303
< input
304
304
type = "radio"
305
305
onChange = { ( ) => dispatch ( setAutocloseBracketsQuotes ( true ) ) }
@@ -332,13 +332,13 @@ export default function Preferences() {
332
332
>
333
333
{ t ( 'Preferences.Off' ) }
334
334
</ label >
335
- </ div >
335
+ </ fieldset >
336
336
</ div >
337
337
< div className = "preference" >
338
338
< h4 className = "preference__title" >
339
339
{ t ( 'Preferences.AutocompleteHinter' ) }
340
340
</ h4 >
341
- < div className = "preference__options" >
341
+ < fieldset className = "preference__options" >
342
342
< input
343
343
type = "radio"
344
344
onChange = { ( ) => dispatch ( setAutocompleteHinter ( true ) ) }
@@ -371,11 +371,11 @@ export default function Preferences() {
371
371
>
372
372
{ t ( 'Preferences.Off' ) }
373
373
</ label >
374
- </ div >
374
+ </ fieldset >
375
375
</ div >
376
376
< div className = "preference" >
377
377
< h4 className = "preference__title" > { t ( 'Preferences.WordWrap' ) } </ h4 >
378
- < div className = "preference__options" >
378
+ < fieldset className = "preference__options" >
379
379
< input
380
380
type = "radio"
381
381
onChange = { ( ) => dispatch ( setLinewrap ( true ) ) }
@@ -402,15 +402,15 @@ export default function Preferences() {
402
402
< label htmlFor = "linewrap-off" className = "preference__option" >
403
403
{ t ( 'Preferences.Off' ) }
404
404
</ label >
405
- </ div >
405
+ </ fieldset >
406
406
</ div >
407
407
</ TabPanel >
408
408
< TabPanel >
409
409
< div className = "preference" >
410
410
< h4 className = "preference__title" >
411
411
{ t ( 'Preferences.LineNumbers' ) }
412
412
</ h4 >
413
- < div className = "preference__options" >
413
+ < fieldset className = "preference__options" >
414
414
< input
415
415
type = "radio"
416
416
onChange = { ( ) => dispatch ( setLineNumbers ( true ) ) }
@@ -437,13 +437,13 @@ export default function Preferences() {
437
437
< label htmlFor = "line-numbers-off" className = "preference__option" >
438
438
{ t ( 'Preferences.Off' ) }
439
439
</ label >
440
- </ div >
440
+ </ fieldset >
441
441
</ div >
442
442
< div className = "preference" >
443
443
< h4 className = "preference__title" >
444
444
{ t ( 'Preferences.LintWarningSound' ) }
445
445
</ h4 >
446
- < div className = "preference__options" >
446
+ < fieldset className = "preference__options" >
447
447
< input
448
448
type = "radio"
449
449
onChange = { ( ) => dispatch ( setLintWarning ( true ) ) }
@@ -477,7 +477,7 @@ export default function Preferences() {
477
477
>
478
478
{ t ( 'Preferences.PreviewSound' ) }
479
479
</ button >
480
- </ div >
480
+ </ fieldset >
481
481
</ div >
482
482
< div className = "preference" >
483
483
< h4 className = "preference__title" >
@@ -487,7 +487,7 @@ export default function Preferences() {
487
487
{ t ( 'Preferences.UsedScreenReader' ) }
488
488
</ h6 >
489
489
490
- < div className = "preference__options" >
490
+ < fieldset className = "preference__options" >
491
491
< input
492
492
type = "checkbox"
493
493
onChange = { ( event ) => {
@@ -522,7 +522,7 @@ export default function Preferences() {
522
522
>
523
523
{ t ( 'Preferences.TableText' ) }
524
524
</ label >
525
- </ div >
525
+ </ fieldset >
526
526
</ div >
527
527
</ TabPanel >
528
528
< TabPanel >
@@ -567,7 +567,7 @@ export default function Preferences() {
567
567
< h4 className = "preference__title" >
568
568
{ t ( 'Preferences.SoundAddon' ) }
569
569
</ h4 >
570
- < div className = "preference__options" >
570
+ < fieldset className = "preference__options" >
571
571
< input
572
572
type = "radio"
573
573
onChange = { ( ) => {
@@ -618,17 +618,17 @@ export default function Preferences() {
618
618
{ t ( 'Preferences.Off' ) }
619
619
</ label >
620
620
{ versionInfo . lastP5SoundURL && (
621
- < span className = "preference__warning" >
621
+ < legend className = "preference__warning" >
622
622
{ t ( 'Preferences.UndoSoundVersion' ) }
623
- </ span >
623
+ </ legend >
624
624
) }
625
- </ div >
625
+ </ fieldset >
626
626
</ div >
627
627
< div className = "preference" >
628
628
< h4 className = "preference__title" >
629
629
{ t ( 'Preferences.PreloadAddon' ) }
630
630
</ h4 >
631
- < div className = "preference__options" >
631
+ < fieldset className = "preference__options" >
632
632
< input
633
633
type = "radio"
634
634
onChange = { ( ) =>
@@ -665,13 +665,13 @@ export default function Preferences() {
665
665
>
666
666
{ t ( 'Preferences.Off' ) }
667
667
</ label >
668
- </ div >
668
+ </ fieldset >
669
669
</ div >
670
670
< div className = "preference" >
671
671
< h4 className = "preference__title" >
672
672
{ t ( 'Preferences.ShapesAddon' ) }
673
673
</ h4 >
674
- < div className = "preference__options" >
674
+ < fieldset className = "preference__options" >
675
675
< input
676
676
type = "radio"
677
677
onChange = { ( ) =>
@@ -708,7 +708,7 @@ export default function Preferences() {
708
708
>
709
709
{ t ( 'Preferences.Off' ) }
710
710
</ label >
711
- </ div >
711
+ </ fieldset >
712
712
</ div >
713
713
</ >
714
714
) }
0 commit comments