Nominally both Bohemia and Hungary were elective at this point. IOTL Bohemia became formally hereditary for the hosue of Habsburg in 1627, Hungary became hereditary for the house of Habsburg in 1687. However there's one difference though, Bohemia had rebelled and lost; whereas in Hungary the king and the estates had fought together to regain the kingdom from the Ottomans and the king had to do concessions for the hereditary succession.
Nonetheless in general in both countries a capable king could have had his son as successor; the role of the estates was larger, when the previous dynasty had gone extinct. Nonetheless both Hungary and Bohemia elected a domestic noble as the successor of the childless Ladislaus.
Besides if the line of Albert and Ladislaus rule long enough in those countries, then they will become 'domestic', if they do, then by virtue of being the king of Bohemia, they will be a prince-elector too (IIRC Bohemia was the least active member of the electoral college though).