Skip to content

Default image for blog posts#99

Open
emka15 wants to merge 1 commit intochaitak-gorai:mainfrom
emka15:main
Open

Default image for blog posts#99
emka15 wants to merge 1 commit intochaitak-gorai:mainfrom
emka15:main

Conversation

@emka15
Copy link

@emka15 emka15 commented Dec 13, 2021

No description provided.

Copy link

@accesslint accesslint bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are accessibility issues in these changes.

echo '<img class= "img-responsive" src="images/'.$post_image = $row['post_image'].'" >';
}
else {
echo '<img class= "img-responsive" src="images/default.png" >';
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This image is missing a text alternative (alt attribute). This is a problem for people using screen readers.

echo '<img class= "img-responsive" src="images/'.$post_image = $row['post_image'].'" >';
}
else {
echo '<img class= "img-responsive" src="images/default.png" >';
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This image is missing a text alternative (alt attribute). This is a problem for people using screen readers.

echo '<img class= "img-responsive" src="images/'.$post_image = $row['post_image'].'" >';
}
else {
echo '<img class= "img-responsive" src="images/default.png" >';
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This image is missing a text alternative (alt attribute). This is a problem for people using screen readers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants