X-Git-Url: https://git.openstreetmap.org./nominatim-ui.git/blobdiff_plain/9ad36e2ce2a63535b7071acd26bc819d989b2f17..2ba00544d30017ad30570011b1a2bcc6a8da73a7:/src/components/ResultsList.svelte?ds=sidebyside

diff --git a/src/components/ResultsList.svelte b/src/components/ResultsList.svelte
index 3b6c713..8935ec1 100644
--- a/src/components/ResultsList.svelte
+++ b/src/components/ResultsList.svelte
@@ -53,13 +53,16 @@
 </script>
 
 {#if aSearchResults && aSearchResults.length > 0}
-  <div id="searchresults">
+  <div id="searchresults" role="list">
 
     {#each aSearchResults as aResult, iResNum}
+      <!-- svelte-ignore a11y-no-noninteractive-element-interactions -->
       <div class="result"
            class:highlight={iResNum === iHighlightNum}
+           role="listitem"
            data-position="{iResNum}"
-           on:click|stopPropagation={handleClick}>
+           on:click|stopPropagation={handleClick}
+           on:keypress|stopPropagation={handleClick}>
         <div style="float:right">
           <MapIcon aPlace={aResult} />
         </div>
