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