In the context of chiral effective theories we usually deal with the pion field
\begin{equation} U= ie^{\frac{\pi^a \sigma^a}{2f}} \end{equation}
where $\pi^a=\big(\pi^1, \pi^2, \pi^3\big)$ are the Goldstone bosons after breaking the chiral symmetry into
\begin{equation} SU(2)_L\times SU(2)_R\rightarrow SU(2)_V, \end{equation}
$\sigma^a$ are the Pauli matrices and $f$ is just a constant. Here we are only dealing with the up and down quarks, hence the $SU(2)$ symmetry groups instead of a more general symmetry.
It is common in the literature [1] to gauge the chiral symmetry in order to simplify the calculations. One defines a covariant derivative using external fields and then uses those fields as a trick to obtain the conserved current.
My question is related to the introduction of the electroweak bosons into this scheme. In this paper [2] and this one [3] they embed the fields $W^a_\mu$ and $B_\mu$ into the covariant derivative like this
\begin{equation} D_\mu U=\partial_\mu U +ig\frac{\tau^a}{2}W^a_\mu U-ig'U\frac{t^3}{2}B_\mu \end{equation}
Which means that the embedding is done by identifying the weak force $SU(2)_L$ group with the chiral symmetry group $SU(2)_L$ and the hypercharge group $U(1)_Y$ with the third generator of $SU(2)_R$. This is confirmed by this book [4] which says that $U$ transforms under the electroweak symmetry $SU(2)_L \times U(1)_Y$ like
\begin{equation} U\rightarrow U'=e^{\frac{i}{2}\theta_L^a\sigma^a}Ue^{\frac{i}{2}\sigma^3\alpha} \end{equation}
which means that $U(1)_Y$ as indeed embedded into the third generator of $SU(2)_R$. My question is: Why is this the way to embed hypercharge into the chiral symmetry? In the standard model, the group $U(1)_Y$ can act on left and right handed fields and, furthermore, it can act independently on different right handed fields. On the other hand, the third generator of the chiral group $SU(2)_R$ can't act on left handed fields and acts on upper and lower components of the right handed doublet in a related way (i.e. not independent as the hypercharge transformation). All this evidence implies that the embedding they are using is nonsense, since it doesn't reproduce the standard model hypercharge group as we know it. What am I missing here?
[1] Starting at page 8 on https://arxiv.org/abs/hep-ph/9502366
[2] Equation 2 on https://arxiv.org/abs/hep-ph/9809237
[3] Equations 2 and 3 on https://arxiv.org/abs/hep-ph/9308276
[4] Equation 3.10 on Electroweak Effective Lagrangians, by José Wudka.