Repository navigation
Commit ddc5dd1
authored
fix(ContextMenu): a node-label sub-menu level names the bottom sheet (#11936)
* test(ContextMenu): a node-label sub-menu level must name the bottom sheet
* fix(ContextMenu): a node-label sub-menu level names the bottom sheet
ContextMenu named its bottom sheet only from a string sub-menu label, so a
level whose label is a node kept the root's name and a screen reader did
not announce the level. It now keeps a per-level title list fed by the
sheet's onOpenSubmenu(item, title), as DropdownMenu does, and names the
sheet after the current level's title. Back and close drop the titles
with their levels.
* fix(ContextMenu): an empty sub-menu title keeps the root sheet name; the release note names the sheet only
* Merge remote-tracking branch 'origin/main' into fix/contextmenu-sheet-node-label
* Merge remote-tracking branch 'origin/main' into fix/contextmenu-sheet-node-label
* Merge remote-tracking branch 'origin/main' into fix/contextmenu-sheet-node-label1 parent fbbcd2c commit ddc5dd1
3 files changed
Lines changed: 60 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
293 | 293 | | |
294 | 294 | | |
295 | 295 | | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
296 | 331 | | |
297 | 332 | | |
298 | 333 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
444 | 444 | | |
445 | 445 | | |
446 | 446 | | |
| 447 | + | |
| 448 | + | |
| 449 | + | |
| 450 | + | |
| 451 | + | |
447 | 452 | | |
448 | 453 | | |
449 | 454 | | |
450 | | - | |
| 455 | + | |
| 456 | + | |
| 457 | + | |
| 458 | + | |
451 | 459 | | |
452 | 460 | | |
453 | 461 | | |
454 | 462 | | |
455 | 463 | | |
| 464 | + | |
456 | 465 | | |
457 | 466 | | |
458 | 467 | | |
| |||
908 | 917 | | |
909 | 918 | | |
910 | 919 | | |
911 | | - | |
| 920 | + | |
| 921 | + | |
| 922 | + | |
| 923 | + | |
912 | 924 | | |
913 | 925 | | |
914 | 926 | | |
| |||
918 | 930 | | |
919 | 931 | | |
920 | 932 | | |
921 | | - | |
| 933 | + | |
| 934 | + | |
| 935 | + | |
| 936 | + | |
922 | 937 | | |
923 | 938 | | |
924 | 939 | | |
| |||
0 commit comments