Making a navbar

Is navbar supposed to be make with a list or not? It’s probably one of the most confusing things ever lol

most people make it with a list, some don’t… for me, I don’t

Lists are usually used for accessibility reasons. For example, a list will cause a screen reader to announce the number of items in the menu. I would highly recommend you keep with this well-established best practice unless you have a very good reason not to.

2 Likes

That’s interesting @bbsmooth. I just thought using a list was the more complicated old fashioned way of doing it so I have tended to take the easier option but as neither way is particularly difficult I will perhaps use the list method from now on.

2 Likes

Thanks for the reply mate. Since I’m doing this for uni application I will focus on accesibility as well