kendallstrautman / brevifolia-gridsome-forestry Goto Github PK
View Code? Open in Web Editor NEWA simple starter blog built with Gridsome & Forestry
Home Page: https://brevifolia-gridsome-forestry.netlify.com/
License: MIT License
A simple starter blog built with Gridsome & Forestry
Home Page: https://brevifolia-gridsome-forestry.netlify.com/
License: MIT License
I have noticed the BlogList
component uses as a direct child of <ul>
element. This is technically invalid HTML, but browsers still parse it for compatibility.
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/ul
https://dequeuniversity.com/rules/axe/3.1/list
brevifolia-gridsome-forestry/src/components/BlogList.vue
Lines 3 to 22 in d5da98f
I would suggest this structure:
<ul class="list">
<li v-for="post in posts" :key="post.node.title">
<g-link :to="post.node.path">
<div class="hero_image">
<g-image
:src="post.node.hero_image"
:alt="post.node.title"
width="300"
height="300"
quality="75"
>
</g-image>
</div>
<div class="blogList__info">
<h2>{{ post.node.title }}</h2>
<h3>{{ formatDate(post.node.date) }}</h3>
<p v-html="formatExcerpt(post.node.content)"></p>
</div>
</g-link>
</li>
</ul>
This issue also appears on other brevifolia repos
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.