Live data from Hacker News

Show HN: Built a timeline component for React with multiple layout modes

github.com

31–40 of 57 posts

Re: Show HN: Built a timeline component for React with multiple layout modes

#32

I just don't understand why every JavaScript project uses emojis so much

It helps format the text if your writing a long piece of manual for example. Sure you can break it up with capital letters, bold but it gets boring and dull. Adding emoji's adds a bit of toybox excitement. If they are used correctly, it can make a document more appealing. When not then it makes the page look ghastly.

I love your documentation.

Small thing: Your "Built with" links at the bottom are broken.

Re: Show HN: Built a timeline component for React with multiple layout modes

#33

The accessibility of this leaves a lot to be desired: - There are no landmarks. - The keyboard navigation works poorly. - There are no live regions to show changing content. - The markup is a sea of divs and spans, so there is no structure to the content. - There is no visible focus indicator. Some of the advanced layouts do not work at all in Safari, accessible or otherwise.

Why so negative?

Accessibility shouldn't be an afterthought. It really needs to be baked in from the start.

Re: Show HN: Built a timeline component for React with multiple layout modes

#34

Earlier quoted context omitted.

It helps format the text if your writing a long piece of manual for example. Sure you can break it up with capital letters, bold but it gets boring and dull. Adding emoji's adds a bit of toybox excitement. If they are used correctly, it can make a document more appealing. When not then it makes the page look ghastly.

I love your documentation. Small thing: Your "Built with" links at the bottom are broken.

fixed this now. thanks for letting me know.

Re: Show HN: Built a timeline component for React with multiple layout modes

#35
post #33

Earlier quoted context omitted.

Why so negative?

Accessibility shouldn't be an afterthought. It really needs to be baked in from the start.

agree with you. accessibility will be looked into on high priority.

Re: Show HN: Built a timeline component for React with multiple layout modes

#38
post #33

Earlier quoted context omitted.

Why so negative?

Accessibility shouldn't be an afterthought. It really needs to be baked in from the start.

At the same time, this is not public infrastructure. This is a gift to you.

Re: Show HN: Built a timeline component for React with multiple layout modes

#39
post #13

Earlier quoted context omitted.

I think `tree` is a bit confusing for what is essentially still linear vertical diagram. You can imagine you could have a layout with actual branches.

Agreed. Would renaming it vertical-split or vertical-alternating reduce confusion?

Vertical-alternating seems very clear to me. Also consider allowing vertical-alternating to “compact“. Reducing blank space may be of value for some designs.

Re: Show HN: Built a timeline component for React with multiple layout modes

#40

The accessibility of this leaves a lot to be desired: - There are no landmarks. - The keyboard navigation works poorly. - There are no live regions to show changing content. - The markup is a sea of divs and spans, so there is no structure to the content. - There is no visible focus indicator. Some of the advanced layouts do not work at all in Safari, accessible or otherwise.

Why so negative?

Unfortunately, people often file lawsuits over lack of accessibility (at least in the US).
Post reply on HN