mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-04-25 08:49:36 +00:00
Improve searchbox accessibility (#760)
* Set field key for search result options label * Add playwright test * Add role attr to search dialog
This commit is contained in:
@@ -40,6 +40,7 @@
|
||||
auto-option-focus
|
||||
force-selection
|
||||
multiple
|
||||
:optionLabel="'display_name'"
|
||||
>
|
||||
<template v-slot:option="{ option }">
|
||||
<div class="option-container">
|
||||
|
||||
@@ -6,7 +6,10 @@
|
||||
:dismissable-mask="dismissable"
|
||||
@hide="clearFilters"
|
||||
:pt="{
|
||||
root: { class: 'invisible-dialog-root' },
|
||||
root: {
|
||||
class: 'invisible-dialog-root',
|
||||
role: 'search'
|
||||
},
|
||||
mask: { class: 'node-search-box-dialog-mask' },
|
||||
transition: {
|
||||
enterFromClass: 'opacity-0 scale-75',
|
||||
|
||||
Reference in New Issue
Block a user