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
Integration script #40
base: master
Are you sure you want to change the base?
Conversation
@@ -74,6 +74,7 @@ | |||
<h2>Heading</h2> | |||
<p>Donec id elit non mi porta gravida at eget metus. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Etiam porta sem malesuada magna mollis euismod. Donec sed odio dui. </p> | |||
<p><a class="btn btn-default" href="#" role="button">View details »</a></p> | |||
<!-- Fixed Image Gallery --> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Consider adding a toggle state to the button for adding individual images. Also adding an aria value to assist with identifying the toggle button behavior.
<p><a class="btn btn-default" href="#" role="button" data-toggle="button" aria-pressed="false" ">View details »</a></p>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Agreed with @bvasilop's suggestion. Adding the aria-pressed
will additionally meet accessibility criteria, making it easier for users with visual impairments to know what they're interacting with. Additionally, taking advantage of the aria-label
will ensure a clear description of the button. Once the above changes are in place, resubmit PR for review and approval.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great update on fixing the bug.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This would be in line with Integration and Social Media User Stories.
@@ -74,6 +74,7 @@ | |||
<h2>Heading</h2> | |||
<p>Donec id elit non mi porta gravida at eget metus. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Etiam porta sem malesuada magna mollis euismod. Donec sed odio dui. </p> | |||
<p><a class="btn btn-default" href="#" role="button">View details »</a></p> | |||
<!-- Fixed Image Gallery --> | |||
<i class="fa fa-bookmark" aria-hidden="true"></i> <!-- Allows user to favorite poem --> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In addition to bookmarking the poem we should also add social icons so that the use may share the poem via social media: Facebook, Twitter, and Pinterest.
@@ -97,6 +98,8 @@ | |||
<script src="js/main.js"></script> | |||
|
|||
<!-- Google Analytics: change UA-XXXXX-X to be your site's ID. --> | |||
|
|||
<!-- Fixed The script, removed the original bug --> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Consider moving google analytics script from <body>
to <head>
with adding <script async src='https://www.google-analytics.com/analytics.js'></script>
for optimizing load times.
Solved the original error.