Hello
I just completed my second front-end libraries project. A react markdown previewer. All the tests pass
Codepen link: markdown editor/previewer
I would greatly appreciate your feedback. Thank you
Hello
I just completed my second front-end libraries project. A react markdown previewer. All the tests pass
Codepen link: markdown editor/previewer
I would greatly appreciate your feedback. Thank you
Great job here. Looks nice. It’s responsive. I’ll point out a few potential accessibility issues since that’s my specialty.
p
element into a label
and give it a for
attribute that points to the textarea. But I think the best way would be to make the “Editor” text an h2
and assign it an id
, and then give the textarea an accessible name using the aria-labelledby
attribute which would point to the h2
. I don’t expect this second approach to make sense, just giving you some insight into how to solve this accessibility issue.h2
then you would also want to turn “Preview” into an h2
.nav
element. The nav
element is what is referred to as a “landmark” element, which is important for screen reader users, and you should only use it if you actually have a navigation menu of some sort inside of it.a
tags and then visually hiding it so that it doesn’t show up on the page but screen reader users can still hear it.This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.