title: Shiny - How to Style a Selected Radio Buttons Label?
body: <p>I found a <a href="https://stackoverflow.com/questions/4641752/css-how-to-style-a-selected-radio-buttons-label">question</a> that was similar, but didn't address the problem when dealing this Radio Buttons in Shiny in their native form; i.e., without HTML.</p>
  
  <p>I have this line:</p>
  
  <pre><code>column(6, h1(radioButtons(inputId="gender", "Gender", choices = list("combined" = "combined", "male only" = "male", "female only" = "female"), inline=TRUE)))
  </code></pre>
  
  <p>which looks like this:</p>
  
  <p><img src="https://i.stack.imgur.com/oiWLp.png" alt="enter image description here"></p>
  
  <p>I would like to make the labels (e.g., 'combined', 'male only', 'female only') bold.</p>
  
  <p>I tried setting a class, <code>class="radioSelect</code>, as below:</p>
  
  <pre><code>column(6, h1(radioButtons(inputId="gender", "Gender", choices = list(class="radioSelect", combined" = "combined", "male only" = "male", "female only" = "female"), inline=TRUE)))
  </code></pre>
  
  <p>...but ended up, amusingly and not surprisingly, with this:</p>
  
  <p><img src="https://i.stack.imgur.com/joHiX.png" alt="enter image description here"></p>
  
  <p>Does anyone have any advice on how I can apply a class to a label on a radio button in Shiny this way? Thanks for your attention.</p>