Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[2.x] Fixed missing alt attribute in IMG tag #426

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions stubs/inertia-react-ts/resources/js/Pages/Welcome.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ export default function Welcome({
id="background"
className="absolute -left-20 top-0 max-w-[877px]"
src="https://laravel.com/assets/img/welcome/background.svg"
alt="Welcome Background"
/>
<div className="relative flex min-h-screen flex-col items-center justify-center selection:bg-[#FF2D20] selection:text-white">
<div className="relative w-full max-w-2xl px-6 lg:max-w-7xl">
Expand Down
1 change: 1 addition & 0 deletions stubs/inertia-react/resources/js/Pages/Welcome.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ export default function Welcome({ auth, laravelVersion, phpVersion }) {
id="background"
className="absolute -left-20 top-0 max-w-[877px]"
src="https://laravel.com/assets/img/welcome/background.svg"
alt="Welcome Background"
/>
<div className="relative flex min-h-screen flex-col items-center justify-center selection:bg-[#FF2D20] selection:text-white">
<div className="relative w-full max-w-2xl px-6 lg:max-w-7xl">
Expand Down
1 change: 1 addition & 0 deletions stubs/inertia-vue-ts/resources/js/Pages/Welcome.vue
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ function handleImageError() {
id="background"
class="absolute -left-20 top-0 max-w-[877px]"
src="https://laravel.com/assets/img/welcome/background.svg"
alt="Welcome Background"
/>
<div
class="relative flex min-h-screen flex-col items-center justify-center selection:bg-[#FF2D20] selection:text-white"
Expand Down
1 change: 1 addition & 0 deletions stubs/inertia-vue/resources/js/Pages/Welcome.vue
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ function handleImageError() {
id="background"
class="absolute -left-20 top-0 max-w-[877px]"
src="https://laravel.com/assets/img/welcome/background.svg"
alt="Welcome Background"
/>
<div
class="relative flex min-h-screen flex-col items-center justify-center selection:bg-[#FF2D20] selection:text-white"
Expand Down
2 changes: 1 addition & 1 deletion stubs/livewire-common/resources/views/welcome.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
</head>
<body class="antialiased font-sans">
<div class="bg-gray-50 text-black/50 dark:bg-black dark:text-white/50">
<img id="background" class="absolute -left-20 top-0 max-w-[877px]" src="https://laravel.com/assets/img/welcome/background.svg" />
<img id="background" class="absolute -left-20 top-0 max-w-[877px]" src="https://laravel.com/assets/img/welcome/background.svg" alt="Welcome Background" />
<div class="relative min-h-screen flex flex-col items-center justify-center selection:bg-[#FF2D20] selection:text-white">
<div class="relative w-full max-w-2xl px-6 lg:max-w-7xl">
<header class="grid grid-cols-2 items-center gap-2 py-10 lg:grid-cols-3">
Expand Down