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';
88import { ParentMenuContext } from '../../../../components/Menubar/contexts' ;
99import Menubar from '../../../../components/Menubar/Menubar' ;
1010import { useMenuProps } from '../../../../components/Menubar/MenubarSubmenu' ;
11- import NavMenuItem from '../../../../components/Menubar/MenubarItem' ;
1211import ButtonOrLink from '../../../../common/ButtonOrLink' ;
1312import { prop , remSize } from '../../../../theme' ;
1413import 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`] = `
362362 File
363363 </b >
364364 <li >
365- New
365+ <button
366+ aria-disabled = " false"
367+ >
368+ New
369+ </button >
366370 </li >
367371 <li >
368- Save
372+ <button
373+ aria-disabled = " false"
374+ >
375+ Save
376+ </button >
369377 </li >
370378 <li >
371- Examples
379+ <a
380+ aria-disabled = " false"
381+ href = " /p5/sketches"
382+ >
383+ Examples
384+ </a >
372385 </li >
373386 <b >
374387 Edit
375388 </b >
376389 <li >
377- Tidy Code
390+ <button
391+ aria-disabled = " false"
392+ >
393+ Tidy Code
394+ </button >
378395 </li >
379396 <li >
380- Find
397+ <button
398+ aria-disabled = " false"
399+ >
400+ Find
401+ </button >
381402 </li >
382403 <b >
383404 Sketch
384405 </b >
385406 <li >
386- Add File
407+ <button
408+ aria-disabled = " false"
409+ >
410+ Add File
411+ </button >
387412 </li >
388413 <li >
389- Add Folder
414+ <button
415+ aria-disabled = " false"
416+ >
417+ Add Folder
418+ </button >
390419 </li >
391420 <b >
392421 Settings
393422 </b >
394423 <li >
395- Preferences
424+ <button
425+ aria-disabled = " false"
426+ >
427+ Preferences
428+ </button >
396429 </li >
397430 <li >
398- Language
431+ <button
432+ aria-disabled = " false"
433+ >
434+ Language
435+ </button >
399436 </li >
400437 <b >
401438 Help
402439 </b >
403440 <li >
404- Keyboard Shortcuts
441+ <button
442+ aria-disabled = " false"
443+ >
444+ Keyboard Shortcuts
445+ </button >
405446 </li >
406447 <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 >
408456 </li >
409457 <li >
410- About
458+ <a
459+ aria-disabled = " false"
460+ href = " /about"
461+ >
462+ About
463+ </a >
411464 </li >
412465 </ul >
413466 </div >
@@ -904,52 +957,105 @@ exports[`Nav renders editor version for mobile 1`] = `
904957 File
905958 </b >
906959 <li >
907- New
960+ <button
961+ aria-disabled = " false"
962+ >
963+ New
964+ </button >
908965 </li >
909966 <li >
910- Save
967+ <button
968+ aria-disabled = " false"
969+ >
970+ Save
971+ </button >
911972 </li >
912973 <li >
913- Examples
974+ <a
975+ aria-disabled = " false"
976+ href = " /p5/sketches"
977+ >
978+ Examples
979+ </a >
914980 </li >
915981 <b >
916982 Edit
917983 </b >
918984 <li >
919- Tidy Code
985+ <button
986+ aria-disabled = " false"
987+ >
988+ Tidy Code
989+ </button >
920990 </li >
921991 <li >
922- Find
992+ <button
993+ aria-disabled = " false"
994+ >
995+ Find
996+ </button >
923997 </li >
924998 <b >
925999 Sketch
9261000 </b >
9271001 <li >
928- Add File
1002+ <button
1003+ aria-disabled = " false"
1004+ >
1005+ Add File
1006+ </button >
9291007 </li >
9301008 <li >
931- Add Folder
1009+ <button
1010+ aria-disabled = " false"
1011+ >
1012+ Add Folder
1013+ </button >
9321014 </li >
9331015 <b >
9341016 Settings
9351017 </b >
9361018 <li >
937- Preferences
1019+ <button
1020+ aria-disabled = " false"
1021+ >
1022+ Preferences
1023+ </button >
9381024 </li >
9391025 <li >
940- Language
1026+ <button
1027+ aria-disabled = " false"
1028+ >
1029+ Language
1030+ </button >
9411031 </li >
9421032 <b >
9431033 Help
9441034 </b >
9451035 <li >
946- Keyboard Shortcuts
1036+ <button
1037+ aria-disabled = " false"
1038+ >
1039+ Keyboard Shortcuts
1040+ </button >
9471041 </li >
9481042 <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 >
9501051 </li >
9511052 <li >
952- About
1053+ <a
1054+ aria-disabled = " false"
1055+ href = " /about"
1056+ >
1057+ About
1058+ </a >
9531059 </li >
9541060 </ul >
9551061 </div >
You can’t perform that action at this time.
0 commit comments