-
Notifications
You must be signed in to change notification settings - Fork 281
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
Feature/UI fixes #751
Feature/UI fixes #751
Conversation
# Conflicts: # src/pages/objkt-display/index.js
# Conflicts: # src/components/item-info/index.js
src/components/item-info/index.js
Outdated
<div className={styles.hdaoButton}> | ||
{renderHDAObutton(token_id, hDAO_balance)} | ||
</footer> | ||
<header className={styles.container}> |
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.
Is this right? a <footer>
before a <header>
? Do we need to be this strict with the markup?
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.
Heres a quote from the MDN Guide:
"HTML Footer Element <footer>
defines a page footer, which typically contains copyright or legal notices and sometimes some links. In the context of a section, a footer might contain the sectioned content's publication date, license information, etc. <article>, <section>, <aside>, and <nav>
can have their own <footer>.
Despite its name, the footer is not necessarily positioned at the end of a page or section."
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.
I can make it less strict if you guys want
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.
I took out the stricter tags in my latest commit
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.
I'm just not sure about the footer. As normally I would separate it from the article or section. in my head it makes sense to be a global thing like a header is, detatched from the current article being viewed. but its not the end of the world.
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.
i took a lot of html tags out / made everything simpler
Looks fine. just a small comment about semantics really. |
Adding HTML tags to the objkt display page
Adding HTML5 tags for accessibility and SEO based on the following HTML5 guidelines:
https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/Using_HTML_sections_and_outlines
I'm open to suggestions on how to improve the hierarchy of h1,h2 tags or any other hierarchy, this is always super confusing o.o
Also wasn't sure what HTML tags to use for "TITLE" and "DESCRIPTION"