@AgataLiberska
Posted
Hi Richard, well done on this challenge! It's great that you used buttons for the accordion toggle so they're accessible, but it would be good if they had some clear focus styles. The default outline is not showing up, I think it's because of the all: inherit
style rule. Maybe to add focus you could use the :focus-within pseudoselector on the h2 elements? You can read more about it here
Hope this helps
@richardcyrus
Posted
@AgataLiberska Thanks for the feedback. I've added focus styles for the buttons.