mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-14 19:41:09 +02:00
A11y
This commit is contained in:
parent
a47a7bfdba
commit
82f58e44fa
5 changed files with 7 additions and 6 deletions
|
|
@ -107,8 +107,7 @@
|
|||
aria-label="Verknüpfung erstellen"
|
||||
onkeydown={handleKeydown}
|
||||
>
|
||||
<!-- svelte-ignore a11y_click_events_have_key_events a11y_no_static_element_interactions -->
|
||||
<div class="manalinkpicker-backdrop" onclick={onClose}></div>
|
||||
<div class="manalinkpicker-backdrop" onclick={onClose} role="presentation" tabindex="-1"></div>
|
||||
<div class="manalinkpicker-modal">
|
||||
<div class="manalinkpicker-header">
|
||||
<h3>Verknüpfung erstellen</h3>
|
||||
|
|
|
|||
|
|
@ -112,9 +112,9 @@
|
|||
}
|
||||
</script>
|
||||
|
||||
<!-- svelte-ignore a11y_click_events_have_key_events -->
|
||||
<div
|
||||
onclick={isAvailable ? handleClick : undefined}
|
||||
onkeydown={(e) => e.key === 'Enter' && isAvailable && handleClick()}
|
||||
role="button"
|
||||
tabindex={isAvailable ? 0 : -1}
|
||||
aria-disabled={!isAvailable}
|
||||
|
|
|
|||
|
|
@ -42,12 +42,12 @@
|
|||
let isHovered = $state(false);
|
||||
</script>
|
||||
|
||||
<!-- svelte-ignore a11y_no_static_element_interactions -->
|
||||
<div
|
||||
class="package-card"
|
||||
class:package-card--popular={pkg.popular}
|
||||
onmouseenter={() => (isHovered = true)}
|
||||
onmouseleave={() => (isHovered = false)}
|
||||
role="article"
|
||||
>
|
||||
{#if pkg.popular}
|
||||
<div class="package-card__badge">
|
||||
|
|
|
|||
|
|
@ -57,13 +57,13 @@
|
|||
let isHovered = $state(false);
|
||||
</script>
|
||||
|
||||
<!-- svelte-ignore a11y_no_static_element_interactions -->
|
||||
<div
|
||||
class="subscription-card"
|
||||
class:subscription-card--current={isCurrentPlan}
|
||||
class:subscription-card--popular={plan.popular && !isCurrentPlan}
|
||||
onmouseenter={() => (isHovered = true)}
|
||||
onmouseleave={() => (isHovered = false)}
|
||||
role="article"
|
||||
>
|
||||
{#if isCurrentPlan}
|
||||
<div class="subscription-card__badge subscription-card__badge--current">
|
||||
|
|
|
|||
|
|
@ -37,7 +37,7 @@ services:
|
|||
- pelias
|
||||
|
||||
elasticsearch:
|
||||
image: pelias/elasticsearch:7.17.1
|
||||
image: docker.elastic.co/elasticsearch/elasticsearch:7.17.1
|
||||
container_name: pelias-elasticsearch
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
|
|
@ -46,6 +46,8 @@ services:
|
|||
- pelias-elasticsearch:/usr/share/elasticsearch/data
|
||||
environment:
|
||||
ES_JAVA_OPTS: "-Xms512m -Xmx512m"
|
||||
discovery.type: single-node
|
||||
xpack.security.enabled: "false"
|
||||
ulimits:
|
||||
memlock:
|
||||
soft: -1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue