]> git.openstreetmap.org Git - nominatim-ui.git/blobdiff - src/components/ResultsList.svelte
Bump semver from 6.3.0 to 6.3.1
[nominatim-ui.git] / src / components / ResultsList.svelte
index 0e6b144f0427ee3cd7dfc593a1e9131b23b1eb34..8935ec1b1a2a7d17dc80dd8875b990c1788d7fa5 100644 (file)
 </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:keypress|stopPropagation={handleClick}>