Last week, we learned about validation and why it matters for our HTML. This week, we will learn about metatags and how they are used to provide further information about our HTML documents. Well also review some best practices for making our web pages usable/accessible.
Project Proposal
Overall, you need to make sure you are explaining your work as much as possible. For the wireframes that means using headings/labels to make your potential layout more understandable. For the style tile, you should include colors, fonts, adjectives and anything else thats visual to convey a look/feel. The needs assessment will be used to explain everything as a whole.
Previous Participation Questions/Responses These are the participation questions from last week:
https://forms.gle/Dtu8w1EoPMrkZEPq7
This link has the responses to the fun question from last week. Feel free to look over the responses from myself and your peers. https://docs.google.com/spreadsheets/d/1QLoQzbO-
Er7ARIECl0aPvY1lKUyZTdYeuwsn4g0XEAk/edit?usp=sharing
Whats Due?
- Participation Questions (4)
- SEO & Accessibility Review (CW/HW)
- Project Proposal (9/30 at midnight)
HTML Final Review (Lecture/Class Activity)
HTML Validation Review
Last week, we learned about HTML and discussed the basics of getting our documents up to standard. This week, Ill go over the previous assignment and how we can use the validator to discover/fix errors.
I will be opening last weeks assignment in Brackets. Feel free to follow along with me as I describe the process for fixing most of the problems in the assignment.
Search Engine Optimization
SEO involves building your website in a way that allows for it to be found more easily by search engines when a user makes a query for information. If a user does a search for lions, a search engine will pull up relevant results from pages which have information about lions. These pages would have keywords, links, and other materials related to lions which help them rank higher than other pages.
With the proper implementation of SEO, you can give your website a better chance of appearing on the first few pages of search results. Users typically dont go beyond a page or two in the search, so its very important to get your page ranked as highly as possible.
There are a few methods for achieving quality SEO on your website. Some of them are related to the performance of the website while others are related to the content on the website. Websites that arent responsive are generally ranked lower than those that work on multiple devices/screen sizes. As for content, using appropriate keywords and structuring your information well helps your page become more findable. If other websites link to your website, that generally will improve its SEO.
Here are some ways to address SEO on a website:
- Using appropriate keywords/phrases
- Having relevant content
- Including links to other related sources
- Having other pages link to your website
- Usage of title and meta tags
- Good performance on any device
Metatags in HTML
These tags are used to provide information about the HTML document that cannot be conveyed or represented by other HTML elements such as link, script, style, or title. The information in these tags is typically used by search engines, browsers, and screen readers.
Metatags almost always go inside of the <head> tag of an HTML document and do not have ending tags. The ones listed in the examples below are some that I have used in our assignment/examples files as well. This is not an exhaustive list but these are the ones you should include in your pages for this course.
Examples
<meta charset=utf-8> This defines the character set for the HTML document.
<meta http-equiv=X-UA-Compatible content=IE=edge> This is important to include if you plan on supporting earlier versions of Internet Explorer (IE). It will tell the browser to use the latest version of IE available on that persons browser. It should be one of the first tags in your <head> tag.
<meta name=description content=> This is used to describe the content that will be found in the HTML document.
<meta name=viewport content=width=device-width, initial-scale=1> This is used to help your content scale to the users device. It should always be included as leaving it out will result in your page displaying weirdly on smaller screen resolutions. Additional Reading
- https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta
- https://moz.com/blog/the-ultimate-guide-to-seo-meta-tags
- https://moz.com/beginners-guide-to-seo (There is a lot of great content here, but scroll down the page to Chapter 1 for a brief explanation of SEO)
- https://developers.google.com/search/docs/advanced/guidelines/webmaster-guidelines (This is specific to ranking well on Google not required reading but interesting)
Usability/Accessibility in HTML
These two concepts are different but have many overlapping ideas. In terms of web development, usability refers to our pages ease-of-use. We can build features to aid users and prevent confusion with our content. With accessibility, we want users to have access to our content and be able to navigate it without issue. Look at the examples below which are based on an imaginary ball to gain a better understanding of these concepts.
Usable but not accessible: A ball in good condition but located on a high shelf where you cant reach it. In this case, people could play with the ball, but some might not be able to get to it.
Accessible but not usable: A ball on a short table where everyone can reach it, but it has holes in it. In this case, everyone can reach the ball, but no one can play with it since it is broken.
Not usable or accessible: A broken ball on a high shelf. In this case, the ball cant be reached by some people, and even if they could reach it, they couldnt use it since it is broken.
Usable and accessible: Everyone can reach the ball and it is in good condition so it can be used as well.
It is important to build your website to be as accessible and usable as possible. After all, your goal is to get a lot of traffic coming to your website. If your pages arent easy to navigate or lack some of the accessibility and usability features I mention below, it will result in a lower rate of visitors to those pages. Think about the times youve visited a page that loaded slowly or had intrusive popups or features which hindered your ability to use that page. You may have left the page immediately or decided to not use the site again after that instance.
There are many ways to incorporate usability and accessibility in your pages. Ive included a basic list to get you started with thinking about the different ways a web page can be enhanced. This list isnt exhaustive, and some parts arent related to HTML specifically, but its useful for reviewing before publishing any pages.
- Use alternative text with images
- Identify page language using the lang attribute on the html tag
- Use HTML to convey meaning and structure
- Use labels with forms
- Structure content appropriately
- Include appropriate roles for elements (aria roles)
- Make all interactive elements keyboard accessible
- Use a skip to main button
- Use easily identifiable and accurate links
- Ensure color contrast is high
- Dont use flashing or blinking elements
- Dont use HTML tables for layout
- Give users enough time to read content in slideshows or other interactive items
- Optimize content so pages load quickly
SEO & Accessibility Review (CW/HW)
There are two parts to this assignment. Youll do a search on a topic and then use the findings for two separate write-ups. You should view the page source and look through the head tag of the document to see the meta tags. Also, check the title tags and general content as far as keywords and headings. Ive included instructions/questions for each part. You dont have to answer every question, but additional details will enable you to provide a more complete picture of each website/search term used.
Part 1
Perform a search in a browser on a topic of your choice. After getting search results, look through the various websites on the very first page. Also, visit some websites that are located after a few pages of results. To do this, scroll to the very bottom of the search results page and select a higher page number. The first red o lets you know which results page you are on currently. In both images below, I am on the very first results page. Once you are done looking through a few websites, try to answer some of the questions listed in the next paragraph.
Google Chrome
Microsoft Edge
How do the websites on the first page compare to the websites in later results pages? Are their differences in what different search engines display? Did your search term appear in the websites ranked lower in the search results? Are there any keywords that youve seen repeated across the websites? Why do you think one website is ranked higher than another? Do the websites appear to have an information hierarchy of some sort? What information seems to be the most important? How can you tell? Are semantic tags being used? If not, what are some tags (if any) that you feel should be used on the page? What meta tags are being used?
In your write-up, be sure to include the search terms exactly as you used them and briefly mention the websites you compared. This will allow me to perform the same exact search and check for results. You should write at least two paragraphs on the search term, the websites, the features you found, and how they compare to each other.
Part 2
Pick one website from the first page of your results and one website from a page beyond the 5th page of results and compare their usability/accessibility in at least two paragraphs. Specifically, Id like you to consider some of the following ideas:
- Which website is more usable/accessible in your opinion? Why?
- Are the sites easy to use?
- How is the information architecture?
- Does a clearly established hierarchy exist? o Can you tell where the main navigation is?
- How do they handle their navigation on smaller screens? Can you use your keyboard to navigate the websites? (try to press tab) Do the websites work well on a mobile device?
- Are the buttons and links easy to tap? What about input boxes?
- Does a clearly established hierarchy exist? o Can you tell where the main navigation is?
- Is the color contrast high enough?
- Do the websites let you accomplish the tasks they say they will?
- Can you identify the websites purpose from the homepage?
Use various web tools to aid your evaluation and look at the checklist/PowerPoint document provided with todays lecture notes.
- https://webaim.org/resources/contrastchecker/ (plug in color values)
- https://wave.webaim.org/ (copy and paste link)
Google has a built-in accessibility audit (inspect the page, go to the Audits tab all the way to the right. Uncheck everything except Accessibility and then click Generate Report
Your write-up is due September 30th at 6pm. To submit the work for this exercise, go to
Blackboard Course Materials Lecture Notes for this weeks class. You can also visit the Assignments folder and the submission area will be titled SEO & Accessibility Review. You must submit a Word document or something else I can open. The work submitted will be evaluated based on the rubric explained below.
SEO & Accessibility Review 10pts
- Part 1: 5pts o Did you include your search term(s)/websites checked?
- Length of write-up o Quality of content:
- Relevant discussion of website terms
- Compared at least two websites
- Part 2: 5pts o Did you mention the websites you evaluated?
- Length of write-up o Were specific items about the website mentioned?
- Did you evaluate the websites based on the criteria mentioned in lecture notes?
- Length of write-up o Quality of content:
Participation Questions 9/23
To receive credit for participation in todays class, please answer all the questions in the Google Form linked below. If you dont want to answer the final question (fun), simply put N/A (not applicable) for your answer and that will count.
This Weeks Participation Questions: https://forms.gle/W6dBh1R4NCAfwN7T8
Previous Participation Questions/Responses These are the participation questions from last week:
https://forms.gle/Dtu8w1EoPMrkZEPq7
This link has the responses to the fun question from last week. Feel free to look over the responses from myself and your peers. https://docs.google.com/spreadsheets/d/1QLoQzbO-
Er7ARIECl0aPvY1lKUyZTdYeuwsn4g0XEAk/edit?usp=sharing
Next Week
We will learn about Cascading Style Sheets (CSS) and how they can be used to add some personality to our web pages. Go through the following links to get an idea of how CSS can be implemented on a web page.
- https://www.htmldog.com/guides/css/ CSS Beginner Tutorial only
- https://developer.mozilla.org/en-US/docs/Learn/CSS/First_steps/What_is_CSS
- https://www.tutorialspoint.com/css/css_syntax.htm Specific syntax examples
Reviews
There are no reviews yet.