@lvce-editor/renderer-process 24.6.0 → 24.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -3941,7 +3941,7 @@ const querySelector = selector => {
|
|
|
3941
3941
|
if (selector.startsWith('#')) {
|
|
3942
3942
|
return querySelectorByCss(selector);
|
|
3943
3943
|
}
|
|
3944
|
-
if (selector.startsWith('[data') || selector.startsWith('[title') || selector.startsWith('[name') || selector.startsWith('[aria-label')) {
|
|
3944
|
+
if (selector.startsWith('[data') || selector.startsWith('[title') || selector.startsWith('[name') || selector.startsWith('[aria-label') || selector.startsWith('[role')) {
|
|
3945
3945
|
return querySelectorByCss(selector);
|
|
3946
3946
|
}
|
|
3947
3947
|
if (isElement(selector)) {
|