[PivotItem][Accessibility] Link pivot item does not allow to pass aria attributes to base command button
Bug Report
- Browser and OS versions: All browser
Priorities and help requested (not applicable if asking question):
Are you willing to submit a PR to fix? (Yes)
Requested priority: Normal
Products/sites affected: VSTS
Describe the issue:
PivotItem allows the user to pass customRenderer. It then wraps the customRenderer inside commandButton. This command button has hard coded aria-properties and does not honor the properties passed in PivotItem props. We have render the tab item as drop-down list and we want to pass aria-expanded to it, but the control does not honor that.
Actual behavior:
Link pivot item's command button does not use aria properties passed by user in PivotItemsProps
Expected behavior:
Link pivot item's command button should use the aria properties passed in pivot item props
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions to Fabric React!
This issue has been automatically closed because it has not had recent activity after being marked as stale. If you belive this issue is still a problem or should be reopened, please reopen it! Thank you for your contributions to Fabric React! Why am I receiving this notification?