Skip to content

Commit

Permalink
fixing a few things to keep accessibility greater than 90%
Browse files Browse the repository at this point in the history
  • Loading branch information
tnylea committed Jun 2, 2024
1 parent d262840 commit bcd3d9a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions resources/views/components/elements/logo.blade.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<x-auth::elements.link href="/" style="height:{{ $height ?? '30' }}px; width:auto; display:block">
<x-auth::elements.link href="/" style="height:{{ $height ?? '30' }}px; width:auto; display:block" aria-label="{{ config('app.name') }} Logo">
@if($isImage)
<img src="{{ url($imageSrc) }}" style="height:100%; width:auto" />
<img src="{{ url($imageSrc) }}" style="height:100%; width:auto" alt="" />
@else
{!! str_replace('<svg', '<svg style="height:100%; width:auto"', $svgString) !!}
@endif
Expand Down
2 changes: 1 addition & 1 deletion resources/views/pages/auth/register.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ public function register()
@php
$autofocusEmail = ($showNameField) ? false : true;
@endphp
<x-auth::elements.input label="Email Address" type="email" wire:model="email" :autofocus="$autofocusEmail" required />
<x-auth::elements.input label="Email Address" id="email" type="email" wire:model="email" :autofocus="$autofocusEmail" required />
@endif

@if($showPasswordField)
Expand Down

0 comments on commit bcd3d9a

Please sign in to comment.