File tree Expand file tree Collapse file tree 2 files changed +130
-25
lines changed Expand file tree Collapse file tree 2 files changed +130
-25
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,6 @@ import classNames from 'classnames';
8
8
import { ParentMenuContext } from '../../../../components/Menubar/contexts' ;
9
9
import Menubar from '../../../../components/Menubar/Menubar' ;
10
10
import { useMenuProps } from '../../../../components/Menubar/MenubarSubmenu' ;
11
- import NavMenuItem from '../../../../components/Menubar/MenubarItem' ;
12
11
import ButtonOrLink from '../../../../common/ButtonOrLink' ;
13
12
import { prop , remSize } from '../../../../theme' ;
14
13
import AsteriskIcon from '../../../../images/p5-asterisk.svg' ;
Original file line number Diff line number Diff line change @@ -362,52 +362,105 @@ exports[`Nav renders dashboard version for mobile 1`] = `
362
362
File
363
363
</b >
364
364
<li >
365
- New
365
+ <button
366
+ aria-disabled = " false"
367
+ >
368
+ New
369
+ </button >
366
370
</li >
367
371
<li >
368
- Save
372
+ <button
373
+ aria-disabled = " false"
374
+ >
375
+ Save
376
+ </button >
369
377
</li >
370
378
<li >
371
- Examples
379
+ <a
380
+ aria-disabled = " false"
381
+ href = " /p5/sketches"
382
+ >
383
+ Examples
384
+ </a >
372
385
</li >
373
386
<b >
374
387
Edit
375
388
</b >
376
389
<li >
377
- Tidy Code
390
+ <button
391
+ aria-disabled = " false"
392
+ >
393
+ Tidy Code
394
+ </button >
378
395
</li >
379
396
<li >
380
- Find
397
+ <button
398
+ aria-disabled = " false"
399
+ >
400
+ Find
401
+ </button >
381
402
</li >
382
403
<b >
383
404
Sketch
384
405
</b >
385
406
<li >
386
- Add File
407
+ <button
408
+ aria-disabled = " false"
409
+ >
410
+ Add File
411
+ </button >
387
412
</li >
388
413
<li >
389
- Add Folder
414
+ <button
415
+ aria-disabled = " false"
416
+ >
417
+ Add Folder
418
+ </button >
390
419
</li >
391
420
<b >
392
421
Settings
393
422
</b >
394
423
<li >
395
- Preferences
424
+ <button
425
+ aria-disabled = " false"
426
+ >
427
+ Preferences
428
+ </button >
396
429
</li >
397
430
<li >
398
- Language
431
+ <button
432
+ aria-disabled = " false"
433
+ >
434
+ Language
435
+ </button >
399
436
</li >
400
437
<b >
401
438
Help
402
439
</b >
403
440
<li >
404
- Keyboard Shortcuts
441
+ <button
442
+ aria-disabled = " false"
443
+ >
444
+ Keyboard Shortcuts
445
+ </button >
405
446
</li >
406
447
<li >
407
- Reference
448
+ <a
449
+ aria-disabled = " false"
450
+ href = " https://p5js.org/reference/"
451
+ rel = " noopener noreferrer"
452
+ target = " _blank"
453
+ >
454
+ Reference
455
+ </a >
408
456
</li >
409
457
<li >
410
- About
458
+ <a
459
+ aria-disabled = " false"
460
+ href = " /about"
461
+ >
462
+ About
463
+ </a >
411
464
</li >
412
465
</ul >
413
466
</div >
@@ -904,52 +957,105 @@ exports[`Nav renders editor version for mobile 1`] = `
904
957
File
905
958
</b >
906
959
<li >
907
- New
960
+ <button
961
+ aria-disabled = " false"
962
+ >
963
+ New
964
+ </button >
908
965
</li >
909
966
<li >
910
- Save
967
+ <button
968
+ aria-disabled = " false"
969
+ >
970
+ Save
971
+ </button >
911
972
</li >
912
973
<li >
913
- Examples
974
+ <a
975
+ aria-disabled = " false"
976
+ href = " /p5/sketches"
977
+ >
978
+ Examples
979
+ </a >
914
980
</li >
915
981
<b >
916
982
Edit
917
983
</b >
918
984
<li >
919
- Tidy Code
985
+ <button
986
+ aria-disabled = " false"
987
+ >
988
+ Tidy Code
989
+ </button >
920
990
</li >
921
991
<li >
922
- Find
992
+ <button
993
+ aria-disabled = " false"
994
+ >
995
+ Find
996
+ </button >
923
997
</li >
924
998
<b >
925
999
Sketch
926
1000
</b >
927
1001
<li >
928
- Add File
1002
+ <button
1003
+ aria-disabled = " false"
1004
+ >
1005
+ Add File
1006
+ </button >
929
1007
</li >
930
1008
<li >
931
- Add Folder
1009
+ <button
1010
+ aria-disabled = " false"
1011
+ >
1012
+ Add Folder
1013
+ </button >
932
1014
</li >
933
1015
<b >
934
1016
Settings
935
1017
</b >
936
1018
<li >
937
- Preferences
1019
+ <button
1020
+ aria-disabled = " false"
1021
+ >
1022
+ Preferences
1023
+ </button >
938
1024
</li >
939
1025
<li >
940
- Language
1026
+ <button
1027
+ aria-disabled = " false"
1028
+ >
1029
+ Language
1030
+ </button >
941
1031
</li >
942
1032
<b >
943
1033
Help
944
1034
</b >
945
1035
<li >
946
- Keyboard Shortcuts
1036
+ <button
1037
+ aria-disabled = " false"
1038
+ >
1039
+ Keyboard Shortcuts
1040
+ </button >
947
1041
</li >
948
1042
<li >
949
- Reference
1043
+ <a
1044
+ aria-disabled = " false"
1045
+ href = " https://p5js.org/reference/"
1046
+ rel = " noopener noreferrer"
1047
+ target = " _blank"
1048
+ >
1049
+ Reference
1050
+ </a >
950
1051
</li >
951
1052
<li >
952
- About
1053
+ <a
1054
+ aria-disabled = " false"
1055
+ href = " /about"
1056
+ >
1057
+ About
1058
+ </a >
953
1059
</li >
954
1060
</ul >
955
1061
</div >
You can’t perform that action at this time.
0 commit comments