Yahyali ranks 28th by electorate among the 112 localities of Şarkışla. The neighborhood has a single ballot box, and 170 voters were registered there for the 2023 parliamentary election.
The neighborhood parts ways with the district as a whole. At the 2023 parliamentary election it went to CHP with 147 votes, while across Şarkışla the leading party was AK Parti, with CHP here running 77.9 points above its district average. In the presidential runoff, 155 of 159 valid votes went to Kemal Kılıçdaroğlu — 71.5 points above the district average. At the 2017 referendum 108 of 114 valid votes were 'no' — 66.5 points above the district average.
At the 2024 local election the neighborhood went to CHP with 100 votes, while Şarkışla as a whole was won by BBP. The picture has not changed since 2009: CHP has finished first in all of the last 9 elections. The electorate grew from 136 registered voters in 2011 to 170 in 2023 — a change of about 25 percent. Turnout at the 2024 local election was 57.9%, 21.0 points below the district average.