Currently show/hide button only carries “show” and “hide” as links without a fully concise explanation about what they are showing and hiding aside of the legend being the next element in DOM.
It should provide an indicative aria-expanded attribute.