fix(web): rating stars accessibility (#11966)

* fix(web): exif ratings accessibility

* chore: add tests

* fix: eslint errors

* fix: clean up issues from changes in use:focusOutside
This commit is contained in:
Ben 2024-08-23 12:34:12 -04:00 committed by GitHub
parent 7fbf50a75e
commit c14e2914f8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 180 additions and 31 deletions

View file

@ -21,7 +21,7 @@
</script>
{#if !isSharedLink() && $preferences?.rating?.enabled}
<section class="relative flex px-4 pt-2">
<section class="px-4 pt-2">
<StarRating {rating} readOnly={!isOwner} onRating={(rating) => handlePromiseError(handleChangeRating(rating))} />
</section>
{/if}