From 044597b3d729e060a966cdf4b109b02f392120f1 Mon Sep 17 00:00:00 2001 From: nsemets Date: Thu, 20 Nov 2025 16:52:14 +0200 Subject: [PATCH] fix(preprints): fixed accessibility issues --- .../preprint-provider-hero.component.html | 2 +- .../pages/landing/preprints-landing.component.html | 6 +++--- .../shared/components/tags-input/tags-input.component.scss | 1 + src/styles/components/preprints.scss | 6 +++++- 4 files changed, 10 insertions(+), 5 deletions(-) diff --git a/src/app/features/preprints/components/preprint-provider-hero/preprint-provider-hero.component.html b/src/app/features/preprints/components/preprint-provider-hero/preprint-provider-hero.component.html index 8754ee628..bbbf62cc8 100644 --- a/src/app/features/preprints/components/preprint-provider-hero/preprint-provider-hero.component.html +++ b/src/app/features/preprints/components/preprint-provider-hero/preprint-provider-hero.component.html @@ -36,7 +36,7 @@

{{ preprintProvider()!.name }}

} @else {
- {{ 'preprints.poweredBy' | translate }} + {{ 'preprints.poweredBy' | translate }} } diff --git a/src/app/features/preprints/pages/landing/preprints-landing.component.html b/src/app/features/preprints/pages/landing/preprints-landing.component.html index 9170bd825..87594c438 100644 --- a/src/app/features/preprints/pages/landing/preprints-landing.component.html +++ b/src/app/features/preprints/pages/landing/preprints-landing.component.html @@ -78,7 +78,7 @@

{{ 'preprints.createServer.title' | translate }}

- - {{ 'preprints.createServer.contactUs' | translate | titlecase }} - + + {{ 'preprints.createServer.contactUs' | translate | titlecase }} + diff --git a/src/app/shared/components/tags-input/tags-input.component.scss b/src/app/shared/components/tags-input/tags-input.component.scss index 57bece35e..b495d2395 100644 --- a/src/app/shared/components/tags-input/tags-input.component.scss +++ b/src/app/shared/components/tags-input/tags-input.component.scss @@ -26,6 +26,7 @@ padding: 0; margin: 0; box-shadow: none; + height: 24px; &::placeholder { color: var(--p-inputtext-placeholder-color); diff --git a/src/styles/components/preprints.scss b/src/styles/components/preprints.scss index 984e8700c..8989bbc15 100644 --- a/src/styles/components/preprints.scss +++ b/src/styles/components/preprints.scss @@ -11,7 +11,11 @@ } .provider-description { - line-height: mix.rem(24px); + line-height: 1.5rem; + + a { + font-weight: bold; + } } .search-container {