Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/visual-editor/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@
"peerDependencies": {
"@yext/pages-components": "^2.2.0",
"@yext/search-headless-react": "^2.7.1",
"@yext/search-ui-react": "^3.0.1",
"@yext/search-ui-react": "^3.4.1",
"mapbox-gl": "^3.20.0",
"react": "^17.0.2 || ^18.2.0",
"react-dom": "^17.0.2 || ^18.2.0"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -873,7 +873,8 @@ const LocatorInternal = ({
placeholder={t("searchHere", "Search here...")}
ariaLabel={t("findALocation", "Find a Location")}
customCssClasses={{
filterSearchContainer: "font-body-fontFamily",
filterSearchContainer:
"font-body-fontFamily ve-locator-filter-search",
focusedOption: "bg-gray-200 hover:bg-gray-200 block",
option: "hover:bg-gray-100 px-4 py-3",
inputElement:
Expand Down
1 change: 1 addition & 0 deletions packages/visual-editor/src/components/locator/Map.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -218,6 +218,7 @@ export const LocatorMap: React.FC<MapProps> = ({
allowUpdates={!!iframe?.contentDocument}
onPinClick={scrollToResult}
markerOptionsOverride={markerOptionsOverride}
excludeMapFromTabOrder={true}
/>
);
};
Expand Down
14 changes: 14 additions & 0 deletions packages/visual-editor/src/components/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,17 @@
@import "./atoms/hours.css";
@import "./atoms/maybeRTF.css";
@import "./atoms/fontStyle.css";

/* Keep locator announcements available to screen readers. */
.ve-locator-filter-search .sr-only {
display: block;
Comment thread
coderabbitai[bot] marked this conversation as resolved.
position: absolute;
width: 1px;
height: 1px;
padding: 0;
margin: -1px;
overflow: hidden;
clip: rect(0, 0, 0, 0);
white-space: nowrap;
border-width: 0;
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Loading