Although any tag can be used for a button, it will only be <a href="http://webaim.org/techniques/keyboard/tabindex">keyboard focusable</a> if you use a <code><button></code> tag or you add the property <code>tabindex="0"</code>.
Although any tag can be used for a button, it will only be <a href="http://webaim.org/techniques/keyboard/tabindex">keyboard focusable</a> if you use a <code><button></code> tag or you add the property <code>tabindex="0"</code>. Keyboard accessible buttons will preserve focus styles after click, which may be visually jarring.</p>
<p>Each component includes a source css and javascript file which declares how a components variables should affect its display on screen.</p>
<p>Navigating definition files are a great way for developers who are comfortable with css to get an idea of how themes affect a components display</p>
<p>Here's an abridged version of <a href="/elements/button.html">button</a> with an explanation of each section of the file.</p>
<p>Themes are made up of two files a <code>.variables</code> file and a <code>.overrides</code> file. A theme can include both variables and overrides, or just either one alone.</p>
<p>A <b>.variables</b> file specifies variables which should be adjusted for a theme.</p>
<p>An <b>.overrides</b> file adds additional css rules from the baseline definition which should be included with an element. This file also has access to all inherited variables for a component.</p>
<p>Theme files correspond to the name of the component, for example button's site theme would be located at <code>src/site/elements/button.variables</code></p>
</div>
<h2 class="ui dividing header">
Anatomy of a Component
Cascading Inheritance
</h2>
<div class="no example">
<h4 class="ui header">Themes</h4>
<p>Themes contain three separate levels of variable inheritance.</p>
<p>Each of these let developers store a different level level of permanence for a variable.</p>
<p>Each level of inheritance corresponds to a different level of permanence for a variable.</p>
<p>The default theme provides baseline variables for a component.</p>
<p>The best way to understand what variables are available to be used with a component is to examine a components default variables file.</p>
<p>The best way to understand what variables are available for inclusion in a theme is to examine a component's default <code>.variables</code> file.</p>
<p>Packaged themes are themes bundled together in a folder for distribution. These can be downloaded from the internet, or passed between projects.</p>
<p>Packaged themes are specified by name in your <a href="#theme-config">theme.config</a> file.</p>
<p>Packaged themes are themes bundled together in a folder for distribution. These can be downloaded from the internet, or carried between projects.</p>
<p>Packaged themes can be used by modifying values in your <a href="#theme-config">theme.config</a> file.</p>
</div>
<div class="no example">
<h4 class="ui header">Site Theme</h4>
<p><code>src/site/{type}/{element}</code></p>
<div class="ui list">
<div class="item">
<i class="folder icon"></i>
@ -279,141 +365,4 @@ type : 'Usage'
<p>This is the best location to store changes that will be used on a single site. A site theme can be thought of as similar to a <a href="https://codex.wordpress.org/Child_Themes" target="_blank">child theme</a> in Wordpress.</p>
<p>Theme files <b>are optional includes</b> and can be safely removed if you do not need to add additional changes to a component your project</p>
</div>
<div class="no example">
<h4 class="ui header">Definition File</h4>
<p>Each component includes a source css and javascript file which declares how a components variables should affect its display on screen.</p>
<p>Navigating definition files are a great way for developers who are comfortable with css to get an idea of how themes affect a components display</p>
<p>Here's an abridged version of <a href="/elements/button.html">button</a> with an explanation of each section of the file.</p>
<p>Themes are made up of two files a <code>.variables</code> file and a <code>.overrides</code> file. A theme can include both variables and overrides, or just either one alone.</p>
<p>A <b>.variables</b> file specifies variables which should be adjusted for a theme.</p>
<p>An <b>.overrides</b> file adds additional css rules from the baseline definition which should be included with an element. This file also has access to all inherited variables for a component.</p>
<p>Theme files correspond to the name of the component, for example button's site theme would be located at <code>src/site/elements/button.variables</code></p>