xml.appendOptionalAttribute("aria-label", accessibleText); xml.appendOptionalAttribute("aria-haspopup", button.isPopupTrigger(), "true"); xml.appendOptionalAttribute("accesskey", Util.upperCase(button.getAccessKeyAsString())); xml.appendOptionalAttribute("data-wc-btnmsg", button.getMessage());
xml.appendOptionalAttribute("accessKey", Util.upperCase(panel.getAccessKeyAsString())); xml.appendOptionalAttribute("type", getPanelType(panel)); xml.appendOptionalAttribute("mode", getPanelMode(panel));
xml.appendOptionalAttribute("hiddencomponent", (what != null && what.isHidden()), "true"); xml.appendOptionalAttribute("hint", label.getHint()); xml.appendOptionalAttribute("accessKey", Util.upperCase(label.getAccessKeyAsString())); xml.appendOptionalAttribute("hidden", label.isHidden(), "true"); xml.appendOptionalAttribute("toolTip", label.getToolTip());
xml.appendUrlAttribute("url", link.getUrl()); xml.appendOptionalAttribute("rel", link.getRel()); xml.appendOptionalAttribute("accessKey", Util.upperCase(link.getAccessKeyAsString()));