avascript 'jsx-a11y/no-noninteractive-tabindex': [ 'error', { tags: [], roles: ['tabpanel'], allowExpressionValues: true, }, ] ``` The `allowExpressionValues` option determines whether the `role` attribute is allowed to be assigned using an expression. For example, the following would pass in recommended mode if `allowExpressionValues` is set to be `true`: ```jsx
{}} tabIndex="0" />; // In case of a conditional expression, there should be literals on both sides of ternary operator
{}} tabIndex="0" />; ``` ### Succeed ```jsx