In order for assistive technologies (such as screen readers) to convey that a series of buttons is grouped, an appropriate role attribute needs to be provided. It is widely used in webpages to toggle items, navigate between pages, etc. The buttons can be created by using the