Skip to content
This repository has been archived by the owner on Oct 1, 2021. It is now read-only.

Commit

Permalink
refactor: accessibility improvement (#178)
Browse files Browse the repository at this point in the history
  • Loading branch information
leMaur authored Sep 6, 2021
1 parent 601cb7e commit 7a2e3c2
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion resources/views/components/auth-verify-email.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<p>@lang('fortify::auth.verify.link_description')</p>
</div>

<img class="mb-5 mx-12" src="/images/auth/verify-email.svg" />
<img class="mb-5 mx-12" src="/images/auth/verify-email.svg" alt="" />

<form wire:click.prevent="resend" wire:poll>
<p class="text-sm text-theme-secondary-600 lg:no-wrap-span-children">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,10 @@ class="justify-center w-full"
/>
</div>
<div class="flex justify-center">
<button class="items-center w-full button-primary sm:w-auto whitespace-nowrap" wire:click="hideRecoveryCodes" dusk="recovery-codes-understand">
<button type="button" class="items-center w-full button-primary sm:w-auto whitespace-nowrap" wire:click="hideRecoveryCodes" dusk="recovery-codes-understand">
@lang('fortify::actions.understand')
</button>
</div>
</div>
@endslot
</x-ark-modal>
</x-ark-modal>
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
<img
src="{{ asset($image) }}"
class="h-28"
alt=""
/>
</div>

Expand Down
4 changes: 2 additions & 2 deletions resources/views/profile/delete-user-form.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,11 +63,11 @@

<x-slot name="buttons">
<div class="flex flex-col w-full sm:flex-row justify-end sm:space-x-3">
<button dusk="delete-user-form-cancel" class="button-secondary mb-4 sm:mb-0" wire:click="closeModal">
<button type="button" dusk="delete-user-form-cancel" class="button-secondary mb-4 sm:mb-0" wire:click="closeModal">
@lang('fortify::actions.cancel')
</button>

<button dusk="delete-user-form-submit" class="inline-flex justify-center items-center button-cancel" wire:click="deleteUser" {{ ! $this->hasConfirmedName() ? 'disabled' : ''}}>
<button type="button" dusk="delete-user-form-submit" class="inline-flex justify-center items-center button-cancel" wire:click="deleteUser" {{ ! $this->hasConfirmedName() ? 'disabled' : ''}}>
<x-ark-icon name="trash" size="sm"/>
<span class="ml-2">@lang('fortify::actions.delete')</span>
</button>
Expand Down

0 comments on commit 7a2e3c2

Please sign in to comment.