Skip to content

Conversation

@scottnix
Copy link
Contributor

The tabindex attribute on the search widget and comment section shouldn't be added by the parent theme, there are a lot of arguments not to use it at all since the browser will naturally tab through the
document structure.

On top of that, the parent theme doesn't know how the child theme will handle the layout and shouldn't be handling it for that reason also.

There are a bunch of edits because SublimeText is setup to remove trailing whitespace, which also includes empty tabs. Most style guides for projects recommend to remove these anyway.

I heard shoptalk show mention tabindex and remembered the search form having tabindex use to drive me crazy, just forgot about it. Also as a reference http://webaim.org/techniques/keyboard/tabindex

The tabindex attribute on the search widget and comment section
shouldn't be added by the parent theme, there are a lot of arguments not
to use it at all since the browser will naturally tab through the
document structure.

On top of that, the parent theme doesn't know how the child theme will
handle the layout and shouldn't be handling it for that reason also.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant