I'm managing the design and development of a microsite that will sit on a subdomain. It will only consist of 5 pages so is a sitemap needed? I would expect the answer is no, but wanted to know if people had any good practice guidelines.
I would think no, not always needed. Particulars broken down by audience:
- For the sake of the page builders, content creators: no, not needed for 5 pages. You would likely just list these out in other documentation (or be creating the pages yourself).
- For the sake of the end users: no, it just becomes an extra link with little value, and is possibly confusing.
- For SEO: I'm guessing it wouldn't hurt, but not sure of the value. As long as it's a sitemap.xml file, and not in the navigation to confuse users, that is.
As far as sitemap.xml is concerned, someone else will have to answer that question!
If the site structure is essentially flat and there is a link to every page from every other page (often the case with microsites that have no second level navigation) you probably don't need to provide users with a sitemap. The main navigation provides the same information.
If, however, there is a second level of hierarchy and those second level pages cannot be reached directly from every other page (i.e. you have to go to a particular section before you can see the sub-navigation for that section) there is often benefit in providing a sitemap from an accessibility point of view. A sitemap provides an alternative method of navigation (WCAG SC 2.4.5 requires multiple methods of navigation) and also gives a very useful overview of content and structure.
I'd say, it depends:
For the first few of your microsites ever designed: yes.
For the rest: not necessarily.
The thing is that creating the sitemap for a five-page-long site takes less time than what you took in writing this question. If it was your 100th microsite, perhaps you wouldn't ask it on the first place.
You need to learn to do things properly first, then you can go the easy route, as otherwise, it's easy to underestimate each task. I usually tell youngsters that it's better to overshoot first than to underdeliver.