What are some common browser compatibility issues when using radio buttons in forms?

Common browser compatibility issues with radio buttons in forms include styling inconsistencies and differences in behavior across browsers. To solve these issues, it is recommended to use CSS to style radio buttons consistently and JavaScript to handle any browser-specific behavior.

<style>
    /* Style radio buttons to be consistent across browsers */
    input[type="radio"] {
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
        display: inline-block;
        width: 20px;
        height: 20px;
        border-radius: 50%;
        border: 2px solid #333;
        background-color: #fff;
        cursor: pointer;
    }

    input[type="radio"]:checked {
        background-color: #333;
    }
</style>

<script>
    // Handle browser-specific behavior for radio buttons
    document.addEventListener('change', function(e) {
        if (e.target.type === 'radio') {
            e.target.checked = true;
        }
    });
</script>